Skip to main content

TdxCustomTileControl.OnItemBeforeCheck Event

Enables you to prohibit switching the checked state of tile items.

Declaration

property OnItemBeforeCheck: TdxTileControlItemAllowOperationEvent read; write;

Remarks

The Sender parameter references the tile control.

The AItem parameter specifies the tile item whose checked state is about to be changed.

Pass False as the AAllow parameter to prohibit changing the item’s checked state. Otherwise, the state is changed, and as a result, the tile control updates its CheckedItems list and then fires the OnItemCheck event.

See Also