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.v20.1.dll

Declaration

public void EndUpdate()
Public Sub

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