Skip to main content

GridColumnSummaryItem(SummaryItemType, String, String) Constructor

Initializes a new GridColumnSummaryItem class instance with the specified summary type, field name and display format.

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
)

Parameters

Name Type Description
summaryType SummaryItemType

A SummaryItemType value that specifies a summary’s summary 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.

Remarks

This constructor sets the GridSummaryItem.Tag property to null.

See Also