共用方式為


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 基礎結構,並不適合直接從您的程式代碼使用。

適用於

另請參閱