Back to Devexpress

ClipboardNodePastingEventArgs.TreeListNode Property

windowsforms-devexpress-dot-xtratreelist-dot-clipboardnodepastingeventargs-0e93a57b.md

latest2.5 KB
Original Source

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.v25.2.dll

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

Declaration

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

Property Value

TypeDescription
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

OptionsClipboard

PasteMode

PasteAsChildNodes

ClipboardNodePastingEventArgs Class

ClipboardNodePastingEventArgs Members

DevExpress.XtraTreeList Namespace