Skip to main content

TreeListView.EnableDynamicLoading Property

Gets or sets whether to create nodes dynamically when you expand their parent node. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public bool EnableDynamicLoading { get; set; }

Property Value

Type Default Description
Boolean true

true, to create nodes dynamically when you expand their parent node; otherwise, false.

Remarks

The TreeListView in hierarchical binding mode creates child nodes dynamically when you expand their parent node.

Set the EnableDynamicLoading property to false to create all nodes at once when the tree is loading.

FetchSublevelChildrenOnExpand Property

The TreeListView in hierarchical binding mode fetches child nodes of sub-level nodes when you expand their parent node.

If the TreeListView.FetchSublevelChildrenOnExpand property is false, all the child nodes display expand buttons (even if they do not have children) after you expand their parent node. The expand button is hidden when you expand a sub-level node that does not contain child nodes.

Note

If the EnableDynamicLoading is false, the TreeListView fetches child nodes of sub-level nodes despite the TreeListView.FetchSublevelChildrenOnExpand property.

See Also