Back to Devexpress

WinExplorerView.SetRowExpanded(Int32, Boolean) Method

windowsforms-devexpress-dot-xtragrid-dot-views-dot-winexplorer-dot-winexplorerview-dot-setrowexpanded-x28-system-dot-int32-system-dot-boolean-x29.md

latest1.7 KB
Original Source

WinExplorerView.SetRowExpanded(Int32, Boolean) Method

Expands or collapses the specific row within this WinExplorerView.

Namespace : DevExpress.XtraGrid.Views.WinExplorer

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
public void SetRowExpanded(
    int rowHandle,
    bool expanded
)
vb
Public Sub SetRowExpanded(
    rowHandle As Integer,
    expanded As Boolean
)

Parameters

NameTypeDescription
rowHandleInt32

An Int32 value that is the target row’s handle.

| | expanded | Boolean |

true to expand the target row; false to collapse it.

|

See Also

WinExplorerView Class

WinExplorerView Members

DevExpress.XtraGrid.Views.WinExplorer Namespace