Skip to main content

GridSummaryItem(SummaryItemType, String, String) Constructor

Creates a new GridSummaryItem object with the predefined summary settings.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public GridSummaryItem(
    SummaryItemType summaryType,
    string fieldName,
    string displayFormat
)

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.

Remarks

Please refer to the default constructor description for details.

See Also