Skip to main content

ClipboardNodePastingEventArgs.TreeListNode Property

Depending on the paste mode, returns the parent node relative to which the data is appended, or the updated node.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.1.dll

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

Declaration

public TreeListNode TreeListNode { get; }

Property Value

Type Description
TreeListNode

A TreeListNode object specifying the node relative to which the paste operation is performed.

Remarks

Depending on the paste mode (see ClipboardOptions.PasteMode and TreeListOptionsClipboard.PasteAsChildNodes in TreeList.OptionsClipboard), the TreeListNode property references to:

  • focused node (see TreeList.FocusedNode) - if the data is appended as a child node of the focused node;
  • focused node’s parent node (see TreeListNode.ParentNode) - if the data is appended as a sibling node of the focused node;
  • node being updated - if the data updates an existing node.
See Also