TdxTileControlItemDragOverEvent Type
The procedural type of the dragged tile item dropping event.
Declaration
TdxTileControlItemDragOverEvent = procedure(Sender: TdxCustomTileControl; AInfo: TdxTileControlDragItemInfo; var AAccept: Boolean) of object;
Parameters
Name | Type |
---|---|
Sender | TdxCustomTileControl |
AInfo | TdxTileControlDragItemInfo |
AAccept | Boolean |
Remarks
The Sender parameter provides access to a tile control that raised a TdxTileControlItemDragBeginEvent event. To access type-specific members of the tile control via the Sender parameter, cast it to the TdxTileControl or TdxTileBar class.
The AInfo parameter provides access to information on one or more dragged items (AInfo.Item and AInfo.CheckedItems), their initial group (AInfo.SourceGroup), and the current target group (AInfo.Group). Refer to the TdxTileControlDragItemInfo class description for details.
Assign False to the AAccept parameter to prohibit a user from dropping the dragged tile(s) to the group under the mouse pointer (AInfo.Group).
The tile control’s OnItemDragOver event references the TdxTileControlItemDragOverEvent procedural type.