TileControl.ContextButtonCustomize Event
Allows you to customize context buttons for individual tiles.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
[DXCategory("Events")]
public event TileContextButtonCustomizeEventHandler ContextButtonCustomize
Event Data
The ContextButtonCustomize event's data class is DevExpress.XtraEditors.TileContextButtonCustomizeEventArgs.
Remarks
The TileControl control displays context buttons with the same properties in all tiles. The ContextButtonCustomize
event fires for each context button in each tile before the TileControl is displayed and allows you to customize context buttons.
Use the e.TileItem
event parameter to get the tile being processed. The e.Item
property gets the context button to be customized.
Call the ContextButtons.UpdateCollection method to raise the ContextButtonCustomize
when needed.