次の方法で共有


DataGrid.Expand メソッド

子リレーションシップがすべての行または特定の行に存在する場合に、子リレーションシップを表示します。

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

パラメータ

  • row
    展開する行の番号。-1 に設定すると、行がすべて展開されます。

使用例

 

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

[C#, C++, JScript] C#、C++、および JScript のサンプルはありません。Visual Basic のサンプルを表示するには、このページの左上隅にある言語のフィルタ ボタン 言語のフィルタ をクリックします。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

DataGrid クラス | DataGrid メンバ | System.Windows.Forms 名前空間 | Expand