Skip to main content
A newer version of this page is available. .

GridSummaryItemCollection.Assign(GridSummaryItemCollection) Method

Copies items from the collection specified as a parameter.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v19.1.dll

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