Skip to main content

TdxTileControlItemDragBeginEvent Type

The procedural type of the tile item drag start event.

Declaration

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

Parameters

Name Type
Sender TdxCustomTileControl
AInfo TdxTileControlDragItemInfo
AAllow 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 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