Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

#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