Class GroupSummaryContextInfo
Represents information about a group summary in the SfDataGrid, used for context menu operations.
Inheritance
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class GroupSummaryContextInfo : Object
Remarks
This class provides contextual data for group summary rows in the data grid. It includes the grid instance, the associated summary row, the group, and the row index. Useful for implementing group-level summary actions such as recalculating, exporting, or customizing summary display.
Constructors
GroupSummaryContextInfo()
Initializes a new instance of the GroupSummaryContextInfo class.
Declaration
public GroupSummaryContextInfo()
GroupSummaryContextInfo(SfDataGrid, DataGridSummaryRow, Group, Int32)
Initializes a new instance of the GroupSummaryContextInfo class with the specified parameters.
Declaration
public GroupSummaryContextInfo(SfDataGrid dataGrid, DataGridSummaryRow summaryRow, Group group, int rowIndex)
Parameters
Type | Name | Description |
---|---|---|
SfDataGrid | dataGrid | The data grid associated with this group summary. |
DataGridSummaryRow | summaryRow | The group summary row associated with this group summary. |
Group | group | The group associated with this group summary. |
System.Int32 | rowIndex | The row index of this group summary. |
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 summary.
Declaration
public Group Group { get; }
Property Value
Type |
---|
Group |
RowIndex
Gets the row index of this group summary.
Declaration
public int RowIndex { get; }
Property Value
Type |
---|
System.Int32 |
SummaryRow
Gets the group summary row associated with this group summary.
Declaration
public DataGridSummaryRow SummaryRow { get; }
Property Value
Type |
---|
DataGridSummaryRow |