Język

AccessibilityNodeInfo.ExtraRenderingInfo.BackgroundColor Property

Definition

Returns the background color of the node if it is a single color.

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

Property Value

Returns the background color of the node if it is a single color.

Attributes

Remarks

Returns the background color of the node if it is a single color. 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.getBackgroundColor.

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