Share via


AmbientTheme.UseOperatingSystemSettings 属性

定义

获取或设置一个值,该值指示 AmbientTheme 是否使用操作系统的主题设置。

public:
 virtual property bool UseOperatingSystemSettings { bool get(); };
[System.ComponentModel.Browsable(false)]
public virtual bool UseOperatingSystemSettings { get; }
[<System.ComponentModel.Browsable(false)>]
member this.UseOperatingSystemSettings : bool
Public Overridable ReadOnly Property UseOperatingSystemSettings As Boolean

属性值

如果 AmbientTheme 使用操作系统的主题设置,则为 true;否则为 false。 默认值为 false

属性

适用于