Back to Devexpress

TreeViewControl.ChangeNodeExpanded(Int32, Boolean) Method

wpf-devexpress-dot-xpf-dot-grid-dot-treeviewcontrol-dot-changenodeexpanded-x28-system-dot-int32-system-dot-boolean-x29.md

latest1.3 KB
Original Source

TreeViewControl.ChangeNodeExpanded(Int32, Boolean) Method

Specifies the expanded state of a node.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public void ChangeNodeExpanded(
    int rowHandle,
    bool isExpanded
)
vb
Public Sub ChangeNodeExpanded(
    rowHandle As Integer,
    isExpanded As Boolean
)

Parameters

NameTypeDescription
rowHandleInt32

The row handle of the required node.

| | isExpanded | Boolean |

true to expand the node; otherwise, false.

|

See Also

TreeViewControl Class

TreeViewControl Members

DevExpress.Xpf.Grid Namespace