TreeListOptionsDragAndDrop.DropNodesMode Property

Gets or sets how the SHIFT key modifies the drop position of a dragged node.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[DefaultValue(DropNodesMode.Default)]
[XtraSerializableProperty]
public virtual DropNodesMode DropNodesMode { get; set; }
<DefaultValue(DropNodesMode.Default)>
<XtraSerializableProperty>
Public Overridable Property DropNodesMode As DropNodesMode

Property Value

Type Default Description
DevExpress.XtraTreeList.DropNodesMode

Default

A value that specifies how the SHIFT key modifies the drop position of a dragged node.

Property Paths

You can access this nested property as listed below:

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

Remarks

The DropNodesMode property value

The drop position when the SHIFT key is held down

Default, Advanced

Before the target node if an end-user drags the current node up (from its initial position).

After the target node if an end-user drags the current node down (from its initial position).

Standard

Before the target node.

You can enable node drag-and-drop with the TreeListOptionsDragAndDrop.DragNodesMode property.

See Also