SystemParameters.ShowSounds 属性

定义

获取一个值,该值指示用户是否需要可视化格式的信息。

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}”/>

适用于