Skip to main content

TreeListOptionsDragAndDrop.DropNodesMode Property

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

Declaration

[DefaultValue(DropNodesMode.Default)]
[XtraSerializableProperty]
public virtual DropNodesMode DropNodesMode { get; set; }

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:

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