To learn more about using JavaScript in LeanFT, see Setting up and working with the JavaScript SDK.
For JavaScript code samples, see Code Samples - JavaScript.

TreeViewNode

WPF. TreeViewNode

TreeViewNode

Constructor

new TreeViewNode()

A TreeViewNode object

Methods

dragAndDropOn(target, dragOptionsopt) → {Promise.<void>}

Drags and drops a test object onto the specified target object according to the specified DragOptions behavior.
Parameters:
Name Type Attributes Description
target TestObject | Object The target object on which this object is dropped.
dragOptions Object <optional>
The drag and drop behavior to apply.
Properties
Name Type Attributes Default Description
button MouseButton <optional>
MouseButton.left The mouse button used to drag the object.
dragLocation Location <optional>
The point on the source object where the drag operation begins.
dropLocation Location <optional>
The point on the target object where the drag and drop operation ends.
Returns:
a promise that is fulfilled when the drop operation ends.
Type
Promise.<void>