TileControl.ContextButtonCustomize Event

Allows you to customize the context buttons for individual tiles.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Events")]
public event TileContextButtonCustomizeEventHandler ContextButtonCustomize
<DXCategory("Events")>
Public Event ContextButtonCustomize As TileContextButtonCustomizeEventHandler

Event Data

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

Remarks

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