Back to Devexpress

TreeListView.AllowRecreateNodesOnEndDataUpdate Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-4a2e153a.md

latest2.9 KB
Original Source

TreeListView.AllowRecreateNodesOnEndDataUpdate Property

Gets or sets whether the GridControl handles notifications from the data source and updates TreeListView nodes between DataControlBase.BeginDataUpdate() and DataControlBase.EndDataUpdate() calls.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
[Browsable(false)]
public bool? AllowRecreateNodesOnEndDataUpdate { get; set; }
vb
<Browsable(False)>
Public Property AllowRecreateNodesOnEndDataUpdate As Boolean?

Property Value

TypeDescription
Nullable<Boolean>

true to recreate nodes after an DataControlBase.EndDataUpdate call; false to update nodes after each change in the data source.

|

Remarks

In v21.2+ , call the TreeListView.BeginDataUpdate(Boolean) and TreeListView.EndDataUpdate() methods if you need to specify when the GridControl should update TreeListView nodes. Refer to the following topic for more information: Lock Updates.

ValueDescription
TrueThe GridControl ignores notifications from the data source and recreates nodes after a EndDataUpdate() call.
FalseThe GridControl handles notifications from the data source and updates nodes after each change.
NullThe default AllowRecreateNodesOnEndDataUpdate property value is false if the TreeListView has a self-referential structure; true if the TreeListView has a hierarchical structure.

See Also

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace