TreeList.CopyToClipboard() Method
Copies selected nodes to the Clipboard.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
Declaration
Remarks
The CopyToClipboard method copies selected nodes to the Clipboard. The way data is copied to the Clipboard is affected by the following options:
- TreeListOptionsClipboard.CopyNodeHierarchy - Obsolete. Gets or sets whether column captions are copied to the Clipboard.
- TreeListOptionsClipboard.CopyNodeHierarchy - Obsolete. Gets or sets whether data is copied to the Clipboard with the hierarchy information included or in a flat form.
If the TreeListOptionsClipboard.AllowCopy property is enabled, an end-user can copy selected nodes to the Clipboard via the CTRL+C shortcut.
Multiple node selection can be enabled via the TreeListOptionsSelection.MultiSelect property. All selected nodes can be accessed via the TreeList.Selection property.
See Also