Skip to main content
A newer version of this page is available. .

TreeListView.FetchSublevelChildrenOnExpand Property

Gets or sets whether the TreeListView fetches child nodes of sub-level nodes when their parent node is being expanded. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

Declaration

public bool FetchSublevelChildrenOnExpand { get; set; }

Property Value

Type Description
Boolean

true to fetch child nodes of sub-level nodes when their parent node is being expanded; otherwise, false.

Remarks

If the FetchSublevelChildrenOnExpand property is set to false and a node is being expanded, all its child (sub-level) nodes display expand buttons, even if they do not have children. An expand button is automatically hidden when expanding a sub-level node that does not contain child nodes.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FetchSublevelChildrenOnExpand property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also