Share via


GridLayout.RowOrderPreserved Property

Definition

Returns whether or not row boundaries are ordered by their grid indices. -or- When this property is true, GridLayout is forced to place the row boundaries so that their associated grid indices are in ascending order in the view.

public virtual bool RowOrderPreserved { [Android.Runtime.Register("isRowOrderPreserved", "()Z", "GetIsRowOrderPreservedHandler")] get; [Android.Runtime.Register("setRowOrderPreserved", "(Z)V", "GetSetRowOrderPreserved_ZHandler")] set; }
[<get: Android.Runtime.Register("isRowOrderPreserved", "()Z", "GetIsRowOrderPreservedHandler")>]
[<set: Android.Runtime.Register("setRowOrderPreserved", "(Z)V", "GetSetRowOrderPreserved_ZHandler")>]
member this.RowOrderPreserved : bool with get, set

Property Value

true if row boundaries must appear in the order of their indices, false otherwise

Attributes

Remarks

Property getter documentation:

Returns whether or not row boundaries are ordered by their grid indices.

Java documentation for android.widget.GridLayout.isRowOrderPreserved().

Property setter documentation:

When this property is true, GridLayout is forced to place the row boundaries so that their associated grid indices are in ascending order in the view.

When this property is false GridLayout is at liberty to place the vertical row boundaries in whatever order best fits the given constraints.

The default value of this property is true.

Java documentation for android.widget.GridLayout.setRowOrderPreserved(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also