NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataGrid.Expand

Displays child relations, if any exist, for all rows or a specific row.

[Visual Basic]
Public Sub Expand( _
   ByVal row As Integer _
)
[C#]
public void Expand(
   int row
);
[C++]
public: void Expand(
   int row
);
[JScript]
public function Expand(
   row : int
);

Parameters

row
The number of the row to expand. If set to-1, all rows are expanded.

Example [Visual Basic]

[Visual Basic]

Private Sub ExpandRow(ByVal myGrid As DataGrid, row As Integer)
   myGrid.Expand row
End Sub

See Also

DataGrid Class | DataGrid Members | System.WinForms Namespace | Expand