Skip to main content
A newer version of this page is available. .

TreeListOptionsDragAndDrop.CanCloneNodesOnDrop Property

Gets or sets whether end-users are allowed to clone nodes using drag-and-drop.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.2.dll

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool CanCloneNodesOnDrop { get; set; }

Property Value

Type Default Description
Boolean **false**

true, to allow end-users to clone nodes using drag-and-drop; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to CanCloneNodesOnDrop
WinForms Controls GanttControl
.OptionsDragAndDrop.CanCloneNodesOnDrop
ResourcesTree
.OptionsDragAndDrop.CanCloneNodesOnDrop
TreeList
.OptionsDragAndDrop.CanCloneNodesOnDrop
Reporting XRDesignFieldList
.OptionsDragAndDrop.CanCloneNodesOnDrop
XRDesignReportExplorer
.OptionsDragAndDrop.CanCloneNodesOnDrop

Remarks

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