TileControl.ContextButtonCustomize Event

Allows you to customize the context buttons for individual tiles.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll


public event TileContextButtonCustomizeEventHandler ContextButtonCustomize
Public Event ContextButtonCustomize As TileContextButtonCustomizeEventHandler

Event Data

The ContextButtonCustomize event's data class is DevExpress.XtraEditors.TileContextButtonCustomizeEventArgs.


By default, the TileControl control displays the 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 the context buttons. Read the TileContextButtonCustomizeEventArgs.TileItem property to determine the tile being processed. The TileContextButtonCustomizeEventArgs.Item property returns the context button to be customized.

See Also