KeyboardPreference Property
Collapse the table of content
Expand the table of content

SystemParameters.KeyboardPreference Property


Gets a value indicating whether the user relies on the keyboard instead of the mouse, and whether the user wants applications to display keyboard interfaces that are typically hidden.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static bool KeyboardPreference {

Property Value

Type: System.Boolean

true if the user relies on the keyboard; otherwise, false.

Maps to SPI_GETKEYBOARDPREF. See SystemParametersInfo.

<object property="{ SystemParameters.KeyboardPreference}"/>

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft