Raised when an item is clicked.
Namespace: MindFusion.Common.UI
File: ListContainer.js
JavaScript Copy Code |
---|
EventDispatcher itemClick |
The event handler method receives the following arguments:
sender
A ListContainer 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 itemClick event of a ToolStrip object. The ToolStrip class derives from ListContainer.
JavaScript Copy Code |
---|
toolstrip.itemClick.addEventListener(handleToolbuttonClick); function handleToolbuttonClick(sender, args) |