Skip to main content

TreeListOptionsClipboard.PasteAsChildNodes Property

Gets or sets whether pasted rows are added as the focused node’s children or siblings. This option is in effect when the ClipboardOptions.PasteMode setting (available from TreeList.OptionsClipboard) is set to Append.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.1.dll

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

Declaration

[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean PasteAsChildNodes { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

True and Default if pasted data is added as the focused node’s children; False if pasted data is added as the focused node’s siblings.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

Property Paths

You can access this nested property as listed below:

Object Type Path to PasteAsChildNodes
TreeList
.OptionsClipboard .PasteAsChildNodes
See Also