SystemParameters.HighContrast 屬性
定義
取得 [高對比] 協助工具功能的相關資訊。Gets information about the High Contrast accessibility feature.
public:
static property bool HighContrast { bool get(); };
public static bool HighContrast { get; }
[get: System.Security.SecurityCritical]
public static bool HighContrast { get; }
member this.HighContrast : bool
[<get: System.Security.SecurityCritical>]
member this.HighContrast : bool
Public Shared ReadOnly Property HighContrast As Boolean
屬性值
如果已選取 HIGHCONTRASTON 選項,則為true
;否則為 false
。true
if the HIGHCONTRASTON option is selected; otherwise, false
.
- 屬性
備註
對應至 SPI_GETHIGHCONTRAST,其會參考 HCF_HIGHCONTRASTON。Maps to SPI_GETHIGHCONTRAST, which references HCF_HIGHCONTRASTON. 請參閱 SystemParametersInfo 和 systeminformation.highcontrast。See SystemParametersInfo and HighContrast.
XAML Attribute UsageXAML Attribute Usage
<object property= "{SystemParameters. systeminformation.highcontrast }
"/><object property="{ SystemParameters.HighContrast}
"/>