windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsbehavior-a1479ff4.md
Use the OptionsClipboard.AllowCopy property instead
Gets or sets whether an end-user can copy selected nodes to the Clipboard via the CTRL+C shortcut.
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.AllowCopy property instead")]
public virtual bool AllowCopyToClipboard { get; set; }
<Obsolete("Use the OptionsClipboard.AllowCopy property instead")>
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Overridable Property AllowCopyToClipboard As Boolean
| Type | Description |
|---|---|
| Boolean |
true if an end-user can copy selected nodes to the Clipboard via a keyboard shortcut; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to AllowCopyToClipboard |
|---|---|
| TreeList |
.OptionsBehavior .AllowCopyToClipboard
|
To copy data to the Clipboard in code, use the TreeList.CopyToClipboard method. See this topic to learn more.
See Also
TreeListOptionsClipboard.CopyNodeHierarchy