Raised when a child Window is being opened.
Namespace: MindFusion.Common.UI
File: WindowHost.js
JavaScript Copy Code |
---|
EventDispatcher windowOpening |
The event handler method receives the following arguments:
sender
A WindowHost 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.
The following code creates a new WindowHost and handles its windowOpening event:
JavaScript Copy Code |
---|
// create a new instance of the WindowHost control function handleWindowOpening(sender, args) |