Skip to main content

GridColumnSortInfoCollection.EndUpdate() Method

Unlocks the GridColumnSortInfoCollection object after a call to the BeginUpdate method and causes an immediate visual update.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v23.2.dll

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

Declaration

public void EndUpdate()

Remarks

The GridColumnSortInfoCollection collection supports batch modifications. This implies that a sequence of operations that affect the collection can be performed, but with only one update to the View. To do this, enclose the code performing the collection modifications within BeginUpdate and EndUpdate method calls. This will give a performance benefit.

Calling the EndUpdate method after a GridColumnSortInfoCollection.BeginUpdate call immediately updates the View.

See Also