Class GroupCaptionContextInfo
Represents information about a group caption in the SfDataGrid, used for context menu operations.
Inherited Members
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class GroupCaptionContextInfo
Remarks
This class provides contextual data for group caption rows in the data grid. It includes the associated group and the row index, allowing developers to implement group-level actions such as collapsing, expanding, or applying filters based on group metadata.
Constructors
GroupCaptionContextInfo()
Initializes a new instance of the GroupCaptionContextInfo class.
Declaration
public GroupCaptionContextInfo()
GroupCaptionContextInfo(SfDataGrid, Group?, int)
Initializes a new instance of the GroupCaptionContextInfo class with the specified parameters.
Declaration
public GroupCaptionContextInfo(SfDataGrid dataGrid, Group? group, int rowIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| SfDataGrid | dataGrid | The data grid associated with this group caption. |
| Group | group | The group associated with this group caption. |
| int | rowIndex | The row index of this group caption. |
Properties
DataGrid
Gets the instance of the SfDataGrid.
Declaration
public SfDataGrid? DataGrid { get; }
Property Value
| Type |
|---|
| SfDataGrid |
Group
Gets the group associated with this group caption.
Declaration
public Group? Group { get; }
Property Value
| Type |
|---|
| Group |
RowIndex
Gets the row index of this group caption.
Declaration
public int RowIndex { get; }
Property Value
| Type |
|---|
| int |