SystemParameters.ShowSounds 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个值,该值指示用户是否需要视觉格式的信息。
public:
static property bool ShowSounds { bool get(); };
public static bool ShowSounds { [System.Security.SecurityCritical] get; }
public static bool ShowSounds { get; }
[<get: System.Security.SecurityCritical>]
static member ShowSounds : bool
static member ShowSounds : bool
Public Shared ReadOnly Property ShowSounds As Boolean
属性值
true 如果用户要求应用程序以可视方式呈现信息,则通常仅以可听形式显示信息;否则 false。
- 属性
注解
映射到SM_SHOWSOUNDS。 请参阅 GetSystemMetrics。
XAML 属性用法
<
object property=“{ SystemParameters.ShowSounds}”/>