GridSummaryItemCollection.Assign(GridSummaryItemCollection) Method

Copies items from the collection specified as a parameter.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

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

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