Skip to main content

TcxCustomGridTableView.OnGetDragDropText Event

Allows you to modify display text during a drag-and-drop operation.

Declaration

property OnGetDragDropText: TcxGridGetDragDropTextEvent read; write;

Remarks

The OnGetDragDropText event allows you to customize display text adjacent to the mouse pointer when a drag operation is started. The OnGetDragDropText event occurs only when the View’s OptionsBehavior.DragDropText property is set to True.

The Sender parameter provides access to the grid View that raised the OnGetDragDropText event. ARecord and AItem parameters identify 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