Skip to main content
A newer version of this page is available. .

TileControl.ContextButtonCustomize Event

Allows you to customize context buttons for individual tiles.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v22.2.dll

NuGet Package: DevExpress.Win.Navigation

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.

See Also