DataGrid.ParentRowsVisible Property    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating whether the parent rows of a table are visible.
public:
 property bool ParentRowsVisible { bool get(); void set(bool value); };public bool ParentRowsVisible { get; set; }member this.ParentRowsVisible : bool with get, setPublic Property ParentRowsVisible As BooleanProperty Value
true if the parent rows are visible; otherwise, false. The default is true.
Examples
The following code example toggles the ParentRowsVisible property.
Private Sub ToggleParentRowsVisible(ByRef myGrid As DataGrid)
    myGrid.ParentRowsVisible = myGrid.ParentRowsVisible Xor True
 End Sub