Skip to main content

TcxCustomGridTableView.OnGetDragDropText Event

Enables you to customize the text which is displayed during a drag operation.

Declaration

property OnGetDragDropText: TcxGridGetDragDropTextEvent read; write;

Remarks

The OnGetDragDropText event gives you the ability to customize the text which is displayed adjacent to the mouse pointer when a drag operation is started. The OnGetDragDropText event is fired only when the View’s OptionsBehavior.DragDropText property is set to True.

The View that raised the event is passed as the Sender parameter. The ARecord and AItem parameters specify the currently selected table record and item. The item’s display value is passed as the AText parameter. You can easily adjust the AText value according to your needs.

See Also