TreeViewControl.FetchSublevelChildrenOnExpand Property
Gets or sets whether the TreeViewControl fetches child nodes of sub-level nodes when you expand their parent node. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.1.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true | true to fetch child nodes of sub-level nodes when you expand their parent node; otherwise, false. |
Remarks
The TreeViewControl in hierarchical binding mode fetches child nodes of sub-level nodes when you expand their parent node.
If the FetchSublevelChildrenOnExpand property is set to 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:
If the EnableDynamicLoading property is set to false, the TreeViewControl fetches child nodes of sub-level nodes regardless of the FetchSublevelChildrenOnExpand property value.