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.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
public GridSummaryItem(
SummaryItemType summaryType,
string fieldName,
string displayFormat,
object tag
)
#Parameters
Name | Type | Description |
---|---|---|
summary |
Summary |
A Summary |
field |
String | A string value specifying the name of a data field whose values are used for summary calculation. This value is assigned to the Grid |
display |
String | A string value specifying the summary value’s display format. This value is assigned to the Grid |
tag | Object | An object used to identify the summary item. This value is assigned to the Grid |
#Remarks
Please refer to the default constructor description for details.