Back to Devexpress

TreeListOptionsClipboard.PasteAsChildNodes Property

windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsclipboard-684bd58a.md

latest2.5 KB
Original Source

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

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

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean PasteAsChildNodes { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
Public Overridable Property PasteAsChildNodes As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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:

NameDescriptionReturn 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 TypePath to PasteAsChildNodes
TreeList

.OptionsClipboard .PasteAsChildNodes

|

See Also

PasteMode

TreeListOptionsClipboard Class

TreeListOptionsClipboard Members

DevExpress.XtraTreeList Namespace