View.TextDirection Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.