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

TileView.GroupHeaderContextButtonCustomize Event

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

Namespace: DevExpress.XtraGrid.Views.Tile

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

[DXCategory("Data")]
public event GroupHeaderContextButtonCustomizeEventHandler GroupHeaderContextButtonCustomize

#Event Data

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

Property Description
GroupValue Gets the current group’s value.
Item Gets the currently processed context button.
KanbanGroup Gets 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