Skip to main content

TcxTreeListOptionsBehavior.DragCollapse Property

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

Declaration

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