Raised when an item is clicked.
Namespace: MindFusion.Common.UI
File: ListContainer.js
SyntaxJavaScript
Copy Code
|
|---|
EventDispatcher itemClick |
Event DataThe 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.
ExampleThe 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) |
See Also