NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataGrid.ParentRowsVisible

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);

Property Value

true if the parent rows are visible; otherwise, false. The default is true.

Example [Visual Basic]

The following example toggles the ParentRowsVisible property.

[Visual Basic]

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

See Also

DataGrid Class | DataGrid Members | System.WinForms Namespace | RowHeadersVisible