Skip to main content

TdxCustomTileControl.OnItemDeactivatingDetail Event

Enables you to prohibit the detail page associated with a specified tile item from closing.

Declaration

property OnItemDeactivatingDetail: TdxTileControlItemAllowOperationEvent read; write;

Remarks

The Sender and AItem parameters reference the tile control and tile item, respectively.

Pass False as the AAllow parameter to prohibit the item’s detail page from closing. Otherwise, the tile item’s OnDeactivatingDetail event then fires, allowing you to provide an additional check for the page closure. Handle these events in combination with the tile control’s OnItemActivateDetail and OnItemDeactivateDetail events and the OnClick, OnActivateDetail, and OnDeactivateDetail events of individual tile items in order to respond to activating tiles and switching between detail pages. Refer to the tile item ActivateDetail and Click method descriptions to learn about the available methods to show detail pages for tile items.

See Also