SystemParameters.HighContrast 屬性

定義

取得 [高對比] 協助工具功能的相關資訊。Gets information about the High Contrast accessibility feature.

public:
 static property bool HighContrast { bool get(); };
[get: System.Security.SecurityCritical]
public static bool HighContrast { get; }
member this.HighContrast : bool
Public Shared ReadOnly Property HighContrast As Boolean

屬性值

如果已選取 HIGHCONTRASTON 選項,則為true ;否則為 falsetrue if the HIGHCONTRASTON option is selected; otherwise, false.

屬性

備註

對應至參考 HCF_HIGHCONTRASTON 的 SPI_GETHIGHCONTRAST。Maps to SPI_GETHIGHCONTRAST, which references HCF_HIGHCONTRASTON. 請參閱SystemParametersInfosysteminformation.highcontrastSee SystemParametersInfo and HighContrast.

XAML Attribute UsageXAML Attribute Usage

<物件屬性= "{SystemParameters. systeminformation.highcontrast}"/><object property="{ SystemParameters.HighContrast}"/>

適用於