Skip to main content

GridSummaryItemCollection.AddRange(GridSummaryItem[]) Method

Adds an array of summary item objects to the collection.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public virtual void AddRange(
    GridSummaryItem[] items
)

Parameters

Name Type Description
items GridSummaryItem[]

An array of GridSummaryItem objects to be added to the collection.

Remarks

This method uses the GridSummaryItemCollection.BeginUpdate and GridSummaryItemCollection.EndUpdate methods to prevent the collection from being updated until all items from the specified array have been added.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AddRange(GridSummaryItem[]) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also