View.SetBackgroundColor(Color) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置此视图的背景色。
[Android.Runtime.Register("setBackgroundColor", "(I)V", "GetSetBackgroundColor_IHandler")]
public virtual void SetBackgroundColor(Android.Graphics.Color color);
[<Android.Runtime.Register("setBackgroundColor", "(I)V", "GetSetBackgroundColor_IHandler")>]
abstract member SetBackgroundColor : Android.Graphics.Color -> unit
override this.SetBackgroundColor : Android.Graphics.Color -> unit
参数
- color
- Color
背景的颜色
- 特性
注解
设置此视图的背景色。
Java文档android.view.View.setBackgroundColor(int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。