Skip to main content

DataControlBase.EndSelection() Method

Enables selection updates after calling the DataControlBase.BeginSelection method, and forces an immediate update.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll


public void EndSelection()


A grid allows a sequence of row selection operations to be performed without having the grid render itself after each modification. To do this, the code performing sequential changes must be enclosed within calls to the DataControlBase.BeginSelection and EndSelection methods. This improves performance, and avoids unnecessary rendering operations.

See Also