Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TileControl.ContextButtonCustomize Event

Allows you to customize context buttons for individual tiles.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.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