Back to Devexpress

TileView.GroupHeaderContextButtonCustomize Event

windowsforms-devexpress-dot-xtragrid-dot-views-dot-tile-dot-tileview-bac62f32.md

latest2.9 KB
Original Source

TileView.GroupHeaderContextButtonCustomize Event

Allows you to customize individual group header buttons in Kanban layout mode.

Namespace : DevExpress.XtraGrid.Views.Tile

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Data")]
public event GroupHeaderContextButtonCustomizeEventHandler GroupHeaderContextButtonCustomize
vb
<DXCategory("Data")>
Public Event GroupHeaderContextButtonCustomize As GroupHeaderContextButtonCustomizeEventHandler

Event Data

The GroupHeaderContextButtonCustomize event's data class is GroupHeaderContextButtonCustomizeEventArgs. The following properties provide information specific to this event:

PropertyDescription
GroupValueGets the current group’s value.
ItemGets the currently processed context button.
KanbanGroupGets the current KanbanGroup. This property is in effect if you created KanbanGroups via the TileViewOptionsKanban.Groups collection. Otherwise, this property returns null.

Remarks

In Kanban layout mode, you can add buttons to group headers via the TileView.OptionsKanban.GroupHeaderContextButtons collection. Handle the GroupHeaderContextButtonCustomize event to dynamically customize group header buttons.

This event fires repeatedly for each button in every group.

See Also

LayoutMode

Kanban Board

TileView Class

TileView Members

DevExpress.XtraGrid.Views.Tile Namespace