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