Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 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.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.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