语言

Control.CustomColor 属性

定义

要与 .. 一起 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

属性值

要使用的背景色

特性

注解

要与 .. 一起 Control显示的可选颜色。 强烈建议让系统默认颜色,除非默认值不适合应用程序。

Java文档android.service.controls.Control.getCustomColor()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于