Class TableSummaryContextInfo
Represents information about a table summary in the SfDataGrid, used for context menu operations.
Inheritance
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class TableSummaryContextInfo : Object
Remarks
This class provides contextual data for table summary rows in the data grid. It includes the grid instance, the associated summary row, the column, and the row index. Useful for implementing summary-specific actions such as exporting, formatting, or recalculating summaries.
Constructors
TableSummaryContextInfo()
Initializes a new instance of the TableSummaryContextInfo class.
Declaration
public TableSummaryContextInfo()
TableSummaryContextInfo(SfDataGrid, DataGridTableSummaryRow, DataGridColumn, Int32)
Initializes a new instance of the TableSummaryContextInfo class with the specified parameters.
Declaration
public TableSummaryContextInfo(SfDataGrid dataGrid, DataGridTableSummaryRow summaryRow, DataGridColumn column, int rowIndex = -1)
Parameters
Type | Name | Description |
---|---|---|
SfDataGrid | dataGrid | The data grid associated with this table summary. |
DataGridTableSummaryRow | summaryRow | The table summary row associated with this table summary. |
DataGridColumn | column | The column associated with this table summary. |
System.Int32 | rowIndex | The row index of this table summary. |
Properties
Column
Gets the column associated with this table summary.
Declaration
public DataGridColumn Column { get; }
Property Value
Type |
---|
DataGridColumn |
DataGrid
Gets the instance of the SfDataGrid.
Declaration
public SfDataGrid DataGrid { get; }
Property Value
Type |
---|
SfDataGrid |
RowIndex
Gets the row index of this table summary.
Declaration
public int RowIndex { get; }
Property Value
Type |
---|
System.Int32 |
SummaryRow
Gets or sets the table summary row associated with this table summary.
Declaration
public DataGridTableSummaryRow SummaryRow { get; }
Property Value
Type |
---|
DataGridTableSummaryRow |