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

适用于