Edit

Share via


Keyboard.PrimaryDevice Property

Definition

Gets the primary keyboard input device.

public:
 static property System::Windows::Input::KeyboardDevice ^ PrimaryDevice { System::Windows::Input::KeyboardDevice ^ get(); };
public static System.Windows.Input.KeyboardDevice PrimaryDevice { [System.Security.SecurityCritical] get; }
public static System.Windows.Input.KeyboardDevice PrimaryDevice { get; }
[<get: System.Security.SecurityCritical>]
static member PrimaryDevice : System.Windows.Input.KeyboardDevice
static member PrimaryDevice : System.Windows.Input.KeyboardDevice
Public Shared ReadOnly Property PrimaryDevice As KeyboardDevice

Property Value

The device.

Attributes

Remarks

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

Applies to

See also