Raised when an item is dragged.
Namespace: MindFusion.Common.UI
File: ListContainer.js
SyntaxJavaScript
Copy Code
|
|---|
EventDispatcher itemDrag |
Event DataThe event handler method receives the following arguments:
sender
A ListItem instance, which is the source of the event. This object will be passed to the handler function as the first argument.
args
An InteractionEventArgs instance, which contains event data. This object will be passed to the handler function as the second argument.
ExampleThe following code handles the itemDrag event of a ListView object. The ListView class derives from ListContainer.
JavaScript
Copy Code
|
|---|
var draggedNode = null; // create the ListView control
|
See Also