Skip to main content
A newer version of this page is available. .

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.v19.2.dll

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EndUpdate() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also