Back to Devexpress

TdxTileControlItemDragBeginEvent Type

vcl-dxcustomtilecontrol-2437e12d.md

latest2.0 KB
Original Source

TdxTileControlItemDragBeginEvent Type

The procedural type of the tile item drag start event.

Declaration

delphi
TdxTileControlItemDragBeginEvent = procedure(Sender: TdxCustomTileControl; AInfo: TdxTileControlDragItemInfo; var AAllow: Boolean) of object;

Parameters

NameType
SenderTdxCustomTileControl
AInfoTdxTileControlDragItemInfo
AAllowBoolean

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 tile or tile bar items that are about to be dragged. Use the AInfo.Item and AInfo.SourceGroup properties to access the tile item that is about to be dragged and its group. Refer to the TdxTileControlDragItemInfo class description for details.

Assign False to the AAllow parameter to forbid a user from starting the drag operation.

The tile control’s OnItemDragBegin event references the TdxTileControlItemDragBeginEvent procedural type.

See Also

TdxTileControlItemDragEndEvent

TdxTileControlItemDragOverEvent

dxCustomTileControl Unit