Udostępnij za pośrednictwem


ViewGroup.MarginLayoutParams.LayoutDirection Property

Definition

Retuns the layout direction. -or- Set the layout direction

public virtual Android.Views.LayoutDirection LayoutDirection { [Android.Runtime.Register("getLayoutDirection", "()I", "GetGetLayoutDirectionHandler")] get; [Android.Runtime.Register("setLayoutDirection", "(I)V", "GetSetLayoutDirection_IHandler")] set; }
[<get: Android.Runtime.Register("getLayoutDirection", "()I", "GetGetLayoutDirectionHandler")>]
[<set: Android.Runtime.Register("setLayoutDirection", "(I)V", "GetSetLayoutDirection_IHandler")>]
member this.LayoutDirection : Android.Views.LayoutDirection with get, set

Property Value

the layout direction.

Attributes

Remarks

Property getter documentation:

Retuns the layout direction. Can be either View#LAYOUT_DIRECTION_LTR or View#LAYOUT_DIRECTION_RTL.

Java documentation for android.view.ViewGroup.MarginLayoutParams.getLayoutDirection().

Property setter documentation:

Set the layout direction

Java documentation for android.view.ViewGroup.MarginLayoutParams.setLayoutDirection(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