GridSummaryItemCollection.Add(GridSummaryItem) Method

Adds the specified summary item to the collection.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

public virtual int Add(
    GridSummaryItem item
)
Public Overridable Function Add(
    item As GridSummaryItem
) As Integer

Parameters

Name Type Description
item GridSummaryItem

A GridSummaryItem object (or descendant) to be added to the collection.

Returns

Type Description
Int32

A zero-based integer representing the new summary item's position within the collection.

Remarks

You can use this method to add a predefined group summary item to the collection at runtime.

See Also