Skip to main content

TcxCustomTreeList.OnGetDragDropText Event

Enables you to customize the drag and drop hint’s text.

Declaration

property OnGetDragDropText: TcxTreeListGetDragDropTextEvent read; write;

Remarks

If the tree list’s OptionsBehavior.DragDropText option is active, the drag and drop hint window is displayed while a node is being dragged (node dragging is enabled if the tree list’s OnDragOver event is handled). This window contains the string representation of the node’s leftmost visible data cell value. If multiple nodes are dragged, the hint window displays the focused node’s value.

Sender specifies the tree list.

ANode specifies the dragged node. If multiple nodes are dragged, ANode specifies the focused node.

Use AText to customize the hint text.

Note

In addition to hints, 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.

See Also