Back to Devexpress

TreeListView.BeginSelection() Method

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-66a0a49e.md

latest1.6 KB
Original Source

TreeListView.BeginSelection() Method

OBSOLETE

Use the BeginSelection() method instead

Prevents selection updates until the TreeListView.EndSelection method is called.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
[Obsolete("Use the DataControlBase.BeginSelection method instead")]
[Browsable(false)]
public void BeginSelection()
vb
<Obsolete("Use the DataControlBase.BeginSelection method instead")>
<Browsable(False)>
Public Sub BeginSelection

Remarks

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

See Also

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace