Skip to main content

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.1.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
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.

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.

See Also