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

속성 값

Boolean

부모 행이 표시되면 true이고, 그렇지 않으면 false입니다. 기본값은 true입니다.

예제

다음 코드 예제에서는 속성을 토글합니다 ParentRowsVisible .

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

적용 대상