Share via


SystemParameters2.HighContrast Property

Gets a value that indicates whether the high contrast feature is being used.

Namespace:  Microsoft.Windows.Shell
Assembly:  Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)

Syntax

'Declaration
Public Property HighContrast As Boolean
public bool HighContrast { get; private set; }
public:
property bool HighContrast {
    bool get ();
    private: void set (bool value);
}
member HighContrast : bool with get, private set
function get HighContrast () : boolean
private function set HighContrast (value : boolean)

Property Value

Type: System.Boolean
true if the high contrast feature is being used; otherwise, false.

.NET Framework Security

See Also

Reference

SystemParameters2 Class

Microsoft.Windows.Shell Namespace