DataGrid.ParentRowsVisible プロパティ

定義

テーブルの親行を表示するかどうかを示す値を取得または設定します。

public:
 property bool ParentRowsVisible { bool get(); void set(bool value); };
public bool ParentRowsVisible { get; set; }
member this.ParentRowsVisible : bool with get, set
Public Property ParentRowsVisible As Boolean

プロパティ値

親行を表示する場合は true。それ以外の場合は false。 既定値は、true です。

次のコード例では、 プロパティを ParentRowsVisible 切り替えます。

Private Sub ToggleParentRowsVisible(ByRef myGrid As DataGrid)
    myGrid.ParentRowsVisible = myGrid.ParentRowsVisible Xor True
 End Sub

適用対象