Share via


DataGrid.ParentRowsVisible Properti

Definisi

Mendapatkan atau menetapkan nilai yang menunjukkan apakah baris induk tabel terlihat.

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

Nilai Properti

true jika baris induk terlihat; jika tidak, false. Defaultnya adalah true.

Contoh

Contoh kode berikut mengalihkan ParentRowsVisible properti.

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

Berlaku untuk