CustomizeNewNodeFromOuterDataEventArgs.DestinationNode Property

Gets the node onto which (or relative to which) the CustomizeNewNodeFromOuterDataEventArgs.SourceNode is dropped.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v21.2.dll

Declaration

public TreeListNode DestinationNode { get; }

Property Value

Type Description
TreeListNode

The node relative to which the dragged node is dropped.

Remarks

Depending on the position where the dragged node (CustomizeNewNodeFromOuterDataEventArgs.SourceNode) is dropped, a new node can be created as a child or sibling of another node.

  • If the new node is about to be created as a child of another node, the DestinationNode property refers to this parent node.
  • If new node is about to be created as a sibling of another node, the DestinationNode property refers to the latter node’s parent.
  • If the new node is about to be created at the root level, the DestinationNode property will be set to null.
See Also