GridColumnSummaryItem(SummaryItemType, String, String, Object) Constructor
Initializes a new GridColumnSummaryItem class instance with the specified summary type, field name, display format and tag.
Namespace: DevExpress.XtraGrid
Assembly: DevExpress.XtraGrid.v24.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
Declaration
public GridColumnSummaryItem(
SummaryItemType summaryType,
string fieldName,
string displayFormat,
object tag
)
Parameters
Name | Type | Description |
---|---|---|
summaryType | SummaryItemType | A SummaryItemType value that specifies a summary’s type. This parameter initializes the GridSummaryItem.SummaryType property. |
fieldName | String | A string value that specifies a summary’s field name. This parameter initializes the GridColumnSummaryItem.FieldName property. |
displayFormat | String | A string value that specifies a summary’s display format. This parameter initializes the GridSummaryItem.DisplayFormat property. |
tag | Object | An object value that specifies a summary’s tag. This parameter initializes the GridSummaryItem.Tag property. |