windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsbehavior-480f2795.md
Use the OptionsClipboard.CopyNodeHierarchy property instead
Gets or sets whether data is copied to the Clipboard with the hierarchy information included or in a flat form.
Namespace : DevExpress.XtraTreeList
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Use the OptionsClipboard.CopyNodeHierarchy property instead")]
public virtual bool CopyToClipboardWithNodeHierarchy { get; set; }
<Obsolete("Use the OptionsClipboard.CopyNodeHierarchy property instead")>
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Overridable Property CopyToClipboardWithNodeHierarchy As Boolean
| Type | Description |
|---|---|
| Boolean |
true if data is copied to the Clipboard with the hierarchy information included; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to CopyToClipboardWithNodeHierarchy |
|---|---|
| TreeList |
.OptionsBehavior .CopyToClipboardWithNodeHierarchy
|
Data can be copied to the Clipboard via the TreeList.CopyToClipboard method. An end-user can copy data via the CTRL+C shortcut provided that the TreeListOptionsClipboard.AllowCopy option is enabled.
Hierarchical data can be pasted from the Clipboard into MS Excel.
See Also