Skip to main content
A newer version of this page is available.
All docs
V19.1

GridSummaryItem.SetSummary(SummaryItemType, String, IFormatProvider) Method

Specifies the type, display format and format provider for the summary item.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v19.1.dll

Declaration

public void SetSummary(
    SummaryItemType summaryType,
    string displayFormat,
    IFormatProvider format
)

Parameters

Name Type Description
summaryType SummaryItemType

A SummaryItemType enumeration value specifying the summary type. This value is assigned to the GridSummaryItem.SummaryType property.

displayFormat String

A string specifying the summary value’s display format. This value is assigned to the GridSummaryItem.DisplayFormat property.

format IFormatProvider

A format provider. This value is assigned to the GridSummaryItem.Format property.

See Also