DataGrid.Expand(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Displays child relations, if any exist, for all rows or a specific row.
public:
void Expand(int row);
public void Expand (int row);
member this.Expand : int -> unit
Public Sub Expand (row As Integer)
Parameters
- row
- Int32
The number of the row to expand. If set to -1, all rows are expanded.
Examples
The following code example demonstrates the use of this member.
Private Sub ExpandRow(ByVal myGrid As DataGrid, row As Integer)
myGrid.Expand( row )
End Sub
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.