Skip to main content

TreeListOptionsDragAndDrop.CanCloneNodesOnDrop Property

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.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:

Object Type Path to CanCloneNodesOnDrop
TreeList
.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