TreeListView.AllowRecreateNodesOnEndDataUpdate Property

Gets or sets whether the TreeListView handles the data source notifications between the DataControlBase.BeginDataUpdate/DataControlBase.EndDataUpdate method calls and recreates nodes.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.dll

Declaration

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

Property Value

Type Description
Nullable<Boolean>

true, to recreate nodes only after the DataControlBase.EndDataUpdate method call; otherwise, false.

Remarks

Set the AllowRecreateNodesOnEndDataUpdate property to false to make the TreeListView handle the data source notifications between the DataControlBase.BeginDataUpdate/DataControlBase.EndDataUpdate methods and recreate its nodes in real time.

When set to true, the TreeListView does not handle notifications between DataControlBase.BeginDataUpdate/DataControlBase.EndDataUpdate. In this case, the TreeListView recreates all nodes when the DataControlBase.EndDataUpdate method is called.

When the AllowRecreateNodesOnEndDataUpdate property is not set, the TreeListView sets it to true for self-referential sources by default. For hierarchical sources, the AllowRecreateNodesOnEndDataUpdate property is set to false by default.

See Also