DataGrid.ParentRowsVisible 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,表示資料表的父列是否可見。
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