windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsdraganddrop-f7b6cefb.md
Gets or sets whether end-users are allowed to clone nodes using drag-and-drop.
Namespace : DevExpress.XtraTreeList
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool CanCloneNodesOnDrop { get; set; }
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property CanCloneNodesOnDrop As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true , to allow end-users to clone nodes using drag-and-drop; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to CanCloneNodesOnDrop |
|---|---|
| TreeList |
.OptionsDragAndDrop .CanCloneNodesOnDrop
|
If the CanCloneNodesOnDrop option is set to true , nodes can be cloned when an end-user moves them within the TreeList or between TreeList controls using drag-and-drop. The CTRL key needs to be pressed to enable copy mode during node dragging.
To allow nodes to be copied when performing drag-and-drop from a source TreeList control to a destination TreeList control, the CanCloneNodesOnDrop property must be enabled for the destination TreeList control. See TreeList.CustomizeNewNodeFromOuterData topic for more information.
Node drag-and-drop operations can be enabled with the TreeListOptionsDragAndDrop.DragNodesMode option.
See Also
TreeListOptionsDragAndDrop Class