Skip to main content

TdxCustomTileControl.OnItemDragEnd Event

Enables you to respond to completing a drag-and-drop operation with tile items (dropping them).

Declaration

property OnItemDragEnd: TdxTileControlItemDragEndEvent read; write;

Remarks

The Sender parameter references the tile control.

The AInfo parameter contains references to the tile item being dropped (AInfo.Item) and the item’s initial and target groups (AInfo.SourceGroup and AInfo.Group, respectively). If one or more tile items are checked in the tile control, they will be dropped as well. Refer to the OnItemDragBegin event description to learn more.

Once a drag-and-drop operation is started (OnItemDragBegin is fired), handle the OnItemDragOver and OnItemDragEnd events to track its progress and prohibit end-users from dropping tile items in certain groups.

See Also