Editar

Compartir a través de


DataGrid.Expand(Int32) Method

Definition

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