Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeViewControl.ChangeNodeExpanded(Int32, Boolean) Method

In This Article

Specifies the expanded state of a node.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public void ChangeNodeExpanded(
    int rowHandle,
    bool isExpanded
)

#Parameters

Name Type Description
rowHandle Int32

The row handle of the required node.

isExpanded Boolean

true to expand the node; otherwise, false.

See Also