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.v20.1.dll

Declaration

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

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