Back to Devexpress

GridSummaryItemCollection.Assign(GridSummaryItemCollection) Method

windowsforms-devexpress-dot-xtragrid-dot-gridsummaryitemcollection-dot-assign-x28-devexpress-dot-xtragrid-dot-gridsummaryitemcollection-x29.md

latest2.0 KB
Original Source

GridSummaryItemCollection.Assign(GridSummaryItemCollection) Method

Copies items from the collection specified as a parameter.

Namespace : DevExpress.XtraGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

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

Parameters

NameTypeDescription
collGridSummaryItemCollection

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

GridSummaryItemCollection Class

GridSummaryItemCollection Members

DevExpress.XtraGrid Namespace