AppWidgetHostView.SetOnLightBackground(Boolean) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置小组件是否在浅白背景上显示,并使用备用 UI(如果可用)。
[Android.Runtime.Register("setOnLightBackground", "(Z)V", "GetSetOnLightBackground_ZHandler", ApiSince=29)]
public virtual void SetOnLightBackground(bool onLightBackground);
[<Android.Runtime.Register("setOnLightBackground", "(Z)V", "GetSetOnLightBackground_ZHandler", ApiSince=29)>]
abstract member SetOnLightBackground : bool -> unit
override this.SetOnLightBackground : bool -> unit
参数
- onLightBackground
- Boolean
- 属性
注解
设置小组件是否在浅白背景上显示,并使用备用 UI(如果可用)。
Java文档android.appwidget.AppWidgetHostView.setOnLightBackground(boolean)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。