Keyboard.PrimaryDevice Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the primary keyboard input device.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public static KeyboardDevice PrimaryDevice {

Property Value

Type: System.Windows.Input.KeyboardDevice

The device.

This property supports the WPF infrastructure and is not intended to be used directly from your code.

.NET Framework
Available since 3.0
Return to top