GridSummaryItem(SummaryItemType, String, String, Object) Constructor
Creates a new GridSummaryItem object with the predefined summary settings and tag.
Namespace: DevExpress.XtraGrid
Assembly: DevExpress.XtraGrid.v24.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
Declaration
public GridSummaryItem(
SummaryItemType summaryType,
string fieldName,
string displayFormat,
object tag
)
Parameters
Name | Type | Description |
---|---|---|
summaryType | SummaryItemType | A SummaryItemType enumeration value specifying the aggregation function type. This value is assigned to the GridSummaryItem.SummaryType property. |
fieldName | String | A string value specifying the name of a data field whose values are used for summary calculation. This value is assigned to the GridSummaryItem.FieldName property. |
displayFormat | String | A string value specifying the summary value’s display format. This value is assigned to the GridSummaryItem.DisplayFormat property. |
tag | Object | An object used to identify the summary item. This value is assigned to the GridSummaryItem.Tag property. |
Remarks
Please refer to the default constructor description for details.