Raised when a button in the command strip of the Window is clicked.
Namespace: MindFusion.Common.UI
File: Window.js
JavaScript Copy Code |
---|
EventDispatcher buttonClick |
The event handler method receives the following arguments:
sender
A Window instance, which is the source of the event. This object will be passed to the handler function as the first argument.
args
An ItemEventArgs instance, which contains event data. This object will be passed to the handler function as the second argument.
The following code handles the buttonClick event of the Window class.
JavaScript Copy Code |
---|
var u = MindFusion.Common.UI; window.buttonClick.addEventListener(buttonClickEventHandler); function buttonClickEventHandler(sender, args) |