Back to Devexpress

ASPxVerticalGridSummaryItemCollection.Add(SummaryItemType, String) Method

aspnet-devexpress-dot-web-dot-aspxverticalgridsummaryitemcollection-dot-add-x28-devexpress-dot-data-dot-summaryitemtype-system-dot-string-x29.md

latest2.2 KB
Original Source

ASPxVerticalGridSummaryItemCollection.Add(SummaryItemType, String) Method

Adds the specified summary item to the collection.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public ASPxVerticalGridSummaryItem Add(
    SummaryItemType summaryType,
    string fieldName
)
vb
Public Function Add(
    summaryType As SummaryItemType,
    fieldName As String
) As ASPxVerticalGridSummaryItem

Parameters

NameTypeDescription
summaryTypeSummaryItemType

A SummaryItemType enumeration value that specifies the aggregate function type. This value is assigned to the ASPxSummaryItemBase.SummaryType property.

| | fieldName | String |

A String value that specifies the name of the data source field whose values are used for summary calculation. This value is assigned to the ASPxSummaryItemBase.FieldName property.

|

Returns

TypeDescription
ASPxVerticalGridSummaryItem

An ASPxVerticalGridSummaryItem object that represents the new summary item.

|

See Also

Vertical Grid

ASPxVerticalGridSummaryItemCollection Class

ASPxVerticalGridSummaryItemCollection Members

DevExpress.Web Namespace