GridColumnSummaryItemCollection.Add() Method
In This Article
Adds a new empty item to the collection.
Namespace: DevExpress.XtraGrid
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
public GridColumnSummaryItem Add()
#Returns
Type | Description |
---|---|
Grid |
A new Grid |
#Remarks
This method sets the following properties as follows:
- GridSummaryItem.SummaryType to SummaryItemType.None.
- GridColumnSummaryItem.FieldName to an empty string.
- GridSummaryItem.DisplayFormat to an empty string.
- GridSummaryItem.Tag to null.
See Also