Back to Devexpress

CustomizeNewNodeFromOuterDataEventArgs.DestinationNode Property

windowsforms-devexpress-dot-xtratreelist-dot-customizenewnodefromouterdataeventargs.md

latest2.2 KB
Original Source

CustomizeNewNodeFromOuterDataEventArgs.DestinationNode Property

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

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

csharp
public TreeListNode DestinationNode { get; }
vb
Public ReadOnly Property DestinationNode As TreeListNode

Property Value

TypeDescription
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

CustomizeNewNodeFromOuterDataEventArgs Class

CustomizeNewNodeFromOuterDataEventArgs Members

DevExpress.XtraTreeList Namespace