TileView.GroupHeaderContextButtonClick Event
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.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
[DXCategory("Data")]
public event GroupHeaderContextButtonClickEventHandler GroupHeaderContextButtonClick
#Event Data
The GroupHeaderContextButtonClick event's data class is GroupHeaderContextButtonClickEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Group |
Gets the current group’s value. |
Item | Gets the button that has been clicked. |
Kanban |
Gets the current Kanban |
Screen |
Gets the clicked button’s bounds, in screen coordinates. |
#Remarks
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.
#Example
See the Tile View Kanban Board module in the XtraGrid MainDemo for an example.