Raised when the control is focused.
Namespace: MindFusion.Common
File: Control.js
SyntaxJavaScript
Copy Code
|
|---|
EventDispatcher focus |
Event DataThe event handler method receives the following arguments:
sender
A Control instance, which is the source of the event. This object will be passed to the handler function as the first argument.
args
An EventArgs instance, which contains event data. This object will be passed to the handler function as the second argument.
ExampleThe following code handles the focus event for a Window instance.
JavaScript
Copy Code
|
|---|
// Handle the focus event. // This is the handler function of the wndow1 focus event. } |
See Also