Back to Devexpress

TreeListOptionsDragAndDrop.DropNodesMode Property

windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsdraganddrop-0f8f2a71.md

latest2.4 KB
Original Source

TreeListOptionsDragAndDrop.DropNodesMode Property

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

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

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

Property Value

TypeDefaultDescription
DevExpress.XtraTreeList.DropNodesModeDefault

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 TypePath 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

DragNodesMode

TreeListOptionsDragAndDrop Class

TreeListOptionsDragAndDrop Members

DevExpress.XtraTreeList Namespace