Control.CustomColor Property

Definition

Optional color to be shown with the Control.

public Android.Content.Res.ColorStateList? CustomColor { [Android.Runtime.Register("getCustomColor", "()Landroid/content/res/ColorStateList;", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getCustomColor", "()Landroid/content/res/ColorStateList;", "", ApiSince=30)>]
member this.CustomColor : Android.Content.Res.ColorStateList

Property Value

background color to use

Attributes

Remarks

Optional color to be shown with the Control. It is highly recommended to let the system default the color unless the default is not suitable for the application.

Java documentation for android.service.controls.Control.getCustomColor().

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