Condividi tramite


GridLayout.ColumnOrderPreserved Property

Definition

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

public virtual bool ColumnOrderPreserved { [Android.Runtime.Register("isColumnOrderPreserved", "()Z", "GetIsColumnOrderPreservedHandler")] get; [Android.Runtime.Register("setColumnOrderPreserved", "(Z)V", "GetSetColumnOrderPreserved_ZHandler")] set; }
[<get: Android.Runtime.Register("isColumnOrderPreserved", "()Z", "GetIsColumnOrderPreservedHandler")>]
[<set: Android.Runtime.Register("setColumnOrderPreserved", "(Z)V", "GetSetColumnOrderPreserved_ZHandler")>]
member this.ColumnOrderPreserved : bool with get, set

Property Value

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

Attributes

Remarks

Property getter documentation:

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

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

Property setter documentation:

When this property is true, GridLayout is forced to place the column 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 horizontal column boundaries in whatever order best fits the given constraints.

The default value of this property is true.

Java documentation for android.widget.GridLayout.setColumnOrderPreserved(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