DataGrid.Expand(Int32) 方法

定義

顯示所有資料列或指定資料列的子關聯 (如果存在的話)。

public:
 void Expand(int row);
public void Expand (int row);
member this.Expand : int -> unit
Public Sub Expand (row As Integer)

參數

row
Int32

要展開的資料列編號。 若設定為 -1,將展開所有資料列。

範例

下列程式碼範例示範如何使用這個成員。


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

適用於

另請參閱