Gets or sets a value indicating whether the parent rows of a table are visible.
[Visual Basic] Public Property ParentRowsVisible As Boolean [C#] public bool ParentRowsVisible {get; set;} [C++] public: __property bool get_ParentRowsVisible(); public: __property void set_ParentRowsVisible(bool); [JScript] public function get ParentRowsVisible() : Boolean; public function set ParentRowsVisible(Boolean);
true if the parent rows are visible; otherwise, false. The default is true.
The following example toggles the ParentRowsVisible property.
[Visual Basic]
Private Sub ToggleParentRowsVisible(ByRef myGrid As DataGrid) myGrid.ParentRowsVisible = myGrid.ParentRowsVisible Xor True End Sub
DataGrid Class | DataGrid Members | System.WinForms Namespace | RowHeadersVisible