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

適用於