Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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
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.

See Also