Επεξεργασία

Κοινή χρήση μέσω


DataGrid.ParentRowsVisible Property

Definition

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, set
Public Property ParentRowsVisible As Boolean

Property 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

Applies to