Sprache

AccessibilityNodeInfo.ExtraRenderingInfo.TextColor Property

Definition

Returns the current color selected for primary text if the node has visible text.

public Android.Graphics.Color TextColor { [Android.Runtime.Register("getTextColor", "()I", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getTextColor", "()I", "", ApiSince=37)>]
member this.TextColor : Android.Graphics.Color

Property Value

Returns the current color selected for primary text if the node has visible text.

Attributes

Remarks

Returns the current color selected for primary text if the node has visible text. If the color has not been set or is unavailable, zero (equivalent to Color.TRANSPARENT) will be returned.

Android reference for android.view.accessibility.AccessibilityNodeInfo.ExtraRenderingInfo.getTextColor.

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