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

TcxTreeListOptionsBehavior.DragCollapse Property

Specifies whether an expanded node located under the mouse pointer is automatically collapsed during drag-and-drop operations.

#Declaration

Delphi
property DragCollapse: Boolean read; write; default True;

#Property Value

Type Default
Boolean True

#Remarks

Set this property to True, to enable automatic node collapse when the mouse pointer is positioned over an expanded node’s expand button for the time period specified via the WaitForExpandNodeTime property.

Use the DragExpand property to enable automatic node expansion during drag-and-drop operations.

Note

You can display specially designed drop indicators to assist end-users during drag-and-drop operations. To enable these indicators, set the tree list’s OptionsView.DropNodeIndicator property to True.

The default value of the DragCollapse property is True.

See Also