UIScreen.WantsSoftwareDimming 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
此 UIScreen 是否可以通过软件仿真使它低于硬件容量。
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool WantsSoftwareDimming { [Foundation.Export("wantsSoftwareDimming")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setWantsSoftwareDimming:")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.WantsSoftwareDimming : bool with get, set
属性值
默认值为 false
。
- 属性
注解
将此值设置为 true
可能影响性能。