Back to Devexpress

TdxTileControlItemDragOverEvent Type

vcl-dxcustomtilecontrol-cd036e17.md

latest2.2 KB
Original Source

TdxTileControlItemDragOverEvent Type

The procedural type of the dragged tile item dropping event.

Declaration

delphi
TdxTileControlItemDragOverEvent = procedure(Sender: TdxCustomTileControl; AInfo: TdxTileControlDragItemInfo; var AAccept: Boolean) of object;

Parameters

NameType
SenderTdxCustomTileControl
AInfoTdxTileControlDragItemInfo
AAcceptBoolean

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.

See Also

TdxTileControlItemDragBeginEvent

TdxTileControlItemDragEndEvent

dxCustomTileControl Unit