Raised when a drag operation is started.
Namespace: MindFusion.Common.UI
File: Window.js
SyntaxJavaScript
Copy Code
|
|---|
EventDispatcher dragStart |
Event DataThe 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 InteractionEventArgs instance, which contains event data. This object will be passed to the handler function as the second argument.
ExampleThe following code handles the dragStart event of a Window instance and unpins the Window if it was dragged:
JavaScript
Copy Code
|
|---|
window.dragStart.addEventListener(windowEventHandler);
|
See Also