Raised when the window's state is changing.
Namespace: MindFusion.Common.UI
File: WindowBase.js
SyntaxJavaScript
Copy Code
|
|---|
EventDispatcher stateChanging |
Event DataThe event handler method receives the following arguments:
sender
A WindowBase instance, which is the source of the event. This object will be passed to the handler function as the first argument.
args
A ControlModifyingEventArgs instance, which contains event data. This object will be passed to the handler function as the second argument.
ExampleThe following code handles the stateChanging event of a Window class.
JavaScript
Copy Code
|
|---|
var u = MindFusion.Common.UI; window.stateChanging.addEventListener(stateChangingEventHandler); function stateChangingEventHandler(sender, args) |
See Also