Back to Devexpress

TileView.GroupHeaderContextButtonClick Event

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

latest3.2 KB
Original Source

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.v25.2.dll

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

Declaration

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

Event Data

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

PropertyDescription
GroupValueGets the current group’s value.
ItemGets the button that has been clicked.
KanbanGroupGets the current KanbanGroup. This property is in effect if you created KanbanGroups via the TileViewOptionsKanban.Groups collection. Otherwise, this property returns null.
ScreenBoundsGets 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

LayoutMode

Kanban Board

TileView Class

TileView Members

DevExpress.XtraGrid.Views.Tile Namespace