[]
Expands or collapses the specified parent row, which shows or hides the child view in a hierarchical display.
public void ExpandRow(int row, bool expand)
Public Sub ExpandRow(row As Integer, expand As Boolean)
Type | Name | Description |
---|---|---|
int | row | Index of parent row to expand or collapse |
bool | expand | Whether to expand and show the child sheet (or collapse and hide it) |
Type | Condition |
---|---|
ArgumentOutOfRangeException | Specified parent row index is out of range; must be between 0 and the total number of rows |