Back to Devexpress

TreeListView.EnableDynamicLoading Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-53b56d9f.md

latest2.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public bool EnableDynamicLoading { get; set; }
vb
Public Property EnableDynamicLoading As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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.

Tip

Topic : Expand and Collapse Nodes

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

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace