Back to Devexpress

TreeListView.ExpandToLevel(Int32) Method

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-dot-expandtolevel-x28-system-dot-int32-x29.md

latest1.6 KB
Original Source

TreeListView.ExpandToLevel(Int32) Method

Expands the parent nodes down to the specified nesting level.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public void ExpandToLevel(
    int level
)
vb
Public Sub ExpandToLevel(
    level As Integer
)

Parameters

NameTypeDescription
levelInt32

An integer value that specifies the nesting level.

|

Remarks

Read Tutorial: Expand and Collapse Nodes

The ExpandToLevel method has no effect if you load child nodes asynchronously.

See Also

AutoExpandAllNodes

ExpandAllNodes()

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace