Partager via


TextView.TextDirectionHeuristic Property

Definition

Returns resolved TextDirectionHeuristic that will be used for text layout.

public virtual Android.Text.ITextDirectionHeuristic TextDirectionHeuristic { [Android.Runtime.Register("getTextDirectionHeuristic", "()Landroid/text/TextDirectionHeuristic;", "GetGetTextDirectionHeuristicHandler", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getTextDirectionHeuristic", "()Landroid/text/TextDirectionHeuristic;", "GetGetTextDirectionHeuristicHandler", ApiSince=29)>]
member this.TextDirectionHeuristic : Android.Text.ITextDirectionHeuristic

Property Value

Attributes

Remarks

Returns resolved TextDirectionHeuristic that will be used for text layout. The TextDirectionHeuristic that is used by TextView is only available after #getTextDirection() and #getLayoutDirection() is resolved. Therefore the return value may not be the same as the one TextView uses if the View's layout direction is not resolved or detached from parent root view.

Java documentation for android.widget.TextView.getTextDirectionHeuristic().

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