windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsdraganddrop-0f8f2a71.md
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
[DefaultValue(DropNodesMode.Default)]
[XtraSerializableProperty]
public virtual DropNodesMode DropNodesMode { get; set; }
<DefaultValue(DropNodesMode.Default)>
<XtraSerializableProperty>
Public Overridable Property DropNodesMode As DropNodesMode
| Type | Default | Description |
|---|---|---|
| DevExpress.XtraTreeList.DropNodesMode | Default |
A value that specifies how the SHIFT key modifies the drop position of a dragged node.
|
You can access this nested property as listed below:
| Object Type | Path to DropNodesMode |
|---|---|
| TreeList |
.OptionsDragAndDrop .DropNodesMode
|
|
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
TreeListOptionsDragAndDrop Class