LinearLayout.Orientation Property

Definition

Returns the current orientation. -or- Should the layout be a column or a row.

public virtual Android.Widget.Orientation Orientation { [Android.Runtime.Register("getOrientation", "()I", "GetGetOrientationHandler")] get; [Android.Runtime.Register("setOrientation", "(I)V", "GetSetOrientation_IHandler")] set; }
[<get: Android.Runtime.Register("getOrientation", "()I", "GetGetOrientationHandler")>]
[<set: Android.Runtime.Register("setOrientation", "(I)V", "GetSetOrientation_IHandler")>]
member this.Orientation : Android.Widget.Orientation with get, set

Property Value

either #HORIZONTAL or #VERTICAL

Attributes

Remarks

Property getter documentation:

Returns the current orientation.

Java documentation for android.widget.LinearLayout.getOrientation().

Property setter documentation:

Should the layout be a column or a row.

Java documentation for android.widget.LinearLayout.setOrientation(int).

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