GridSummaryItemCollection.Assign(GridSummaryItemCollection) Method

Copies items from the collection specified as a parameter.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v20.1.dll


public virtual void Assign(
    GridSummaryItemCollection coll
Public Overridable Sub Assign(
    coll As GridSummaryItemCollection


Name Type Description
coll GridSummaryItemCollection

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


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