windowsforms-devexpress-dot-xtraeditors-dot-tilecontrol-1044e48c.md
Allows you to customize context buttons for individual tiles.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DXCategory("Events")]
public event TileContextButtonCustomizeEventHandler ContextButtonCustomize
<DXCategory("Events")>
Public Event ContextButtonCustomize As TileContextButtonCustomizeEventHandler
The ContextButtonCustomize event's data class is DevExpress.XtraEditors.TileContextButtonCustomizeEventArgs.
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