Back to Devexpress

TileControl.ContextButtonCustomize Event

windowsforms-devexpress-dot-xtraeditors-dot-tilecontrol-1044e48c.md

latest1.9 KB
Original Source

TileControl.ContextButtonCustomize Event

Allows you to customize context buttons for individual tiles.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

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

ContextButtons

TileControl Class

TileControl Members

DevExpress.XtraEditors Namespace