Keyboard.PrimaryDevice 属性

定义

获取主键盘输入设备。

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

属性值

设备。

属性

注解

此属性支持 WPF 基础结构,不应直接从代码使用。

适用于

另请参阅