View.TextDirection Property

Definition

Return the resolved text direction. -or- Set the text direction.

public virtual Android.Views.TextDirection TextDirection { [Android.Runtime.Register("getTextDirection", "()I", "GetGetTextDirectionHandler")] get; [Android.Runtime.Register("setTextDirection", "(I)V", "GetSetTextDirection_IHandler")] set; }
[<get: Android.Runtime.Register("getTextDirection", "()I", "GetGetTextDirectionHandler")>]
[<set: Android.Runtime.Register("setTextDirection", "(I)V", "GetSetTextDirection_IHandler")>]
member this.TextDirection : Android.Views.TextDirection with get, set

Property Value

the resolved text direction. Returns one of:

        <code data-dev-comment-type="c">#TEXT_DIRECTION_FIRST_STRONG</code>,
        <code data-dev-comment-type="c">#TEXT_DIRECTION_ANY_RTL</code>,
        <code data-dev-comment-type="c">#TEXT_DIRECTION_LTR</code>,
        <code data-dev-comment-type="c">#TEXT_DIRECTION_RTL</code>,
        <code data-dev-comment-type="c">#TEXT_DIRECTION_LOCALE</code>,
        <code data-dev-comment-type="c">#TEXT_DIRECTION_FIRST_STRONG_LTR</code>,
        <code data-dev-comment-type="c">#TEXT_DIRECTION_FIRST_STRONG_RTL</code>
Attributes

Remarks

Property getter documentation:

Return the resolved text direction.

Java documentation for android.view.View.getTextDirection().

Property setter documentation:

Set the text direction.

Java documentation for android.view.View.setTextDirection(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