Skip to main content

GridSummaryItemCollection.Assign(GridSummaryItemCollection) Method

Copies items from the collection specified as a parameter.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

public virtual void Assign(
    GridSummaryItemCollection coll
)

Parameters

Name Type Description
coll GridSummaryItemCollection

A GridSummaryItemCollection object whose items should be copied to the current collection.

Remarks

The Assign method removes all items from the current collection before copying the specified collection’s items.

The calls the FormatConditionCollectionBase.BeginUpdate and FormatConditionCollectionBase.EndUpdate methods to prevent the current collection from being updated until all items from the source collection have been copied.

See Also