wpf-devexpress-dot-xpf-dot-grid-dot-gridcontrol-dot-expandgrouprow-x28-system-dot-int32-x29.md
Expands the specified group row.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public bool ExpandGroupRow(
int rowHandle
)
Public Function ExpandGroupRow(
rowHandle As Integer
) As Boolean
| Name | Type | Description |
|---|---|---|
| rowHandle | Int32 |
An integer value that specifies the group row’s handle. Group row handles are negative (starting from -1 ).
|
| Type | Description |
|---|---|
| Boolean |
true if the specified group row has been expanded; otherwise, false.
|
To learn more, see Expanding and Collapsing Group Rows.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ExpandGroupRow(Int32) method.
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.
var groupRow = grid.GetParentRowHandle(childRow);
grid.ExpandGroupRow(groupRow);
Dim groupRow = Me.grid.GetParentRowHandle(childRow)
Me.grid.ExpandGroupRow(groupRow)
childRow = Me.grid.FindRowByValue(Me.grid.Columns(NameOf(Invoice.Status)), InvoiceStatus.Delivered)
See Also