windowsforms-devexpress-dot-xtragrid-dot-views-dot-tile-dot-tileview-d8ba7693.md
Allows you to perform actions when a button in a group header is clicked. This event is in effect when you add 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
[DXCategory("Data")]
public event GroupHeaderContextButtonClickEventHandler GroupHeaderContextButtonClick
<DXCategory("Data")>
Public Event GroupHeaderContextButtonClick As GroupHeaderContextButtonClickEventHandler
The GroupHeaderContextButtonClick event's data class is GroupHeaderContextButtonClickEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| GroupValue | Gets the current group’s value. |
| Item | Gets the button that has been clicked. |
| KanbanGroup | Gets the current KanbanGroup. This property is in effect if you created KanbanGroups via the TileViewOptionsKanban.Groups collection. Otherwise, this property returns null. |
| ScreenBounds | Gets the clicked button’s bounds, in screen coordinates. |
In Kanban layout mode, you can add buttons to group headers via the TileView.OptionsKanban.GroupHeaderContextButtons collection. Handle the GroupHeaderContextButtonClick event to perform actions when a group header button is clicked.
See the Tile View Kanban Board module in the XtraGrid MainDemo for an example.
See Also