KeyGesture.Key プロパティ

定義

この KeyGesture に関連付けられているキーを取得します。

public:
 property System::Windows::Input::Key Key { System::Windows::Input::Key get(); };
public System.Windows.Input.Key Key { get; }
member this.Key : System.Windows.Input.Key
Public ReadOnly Property Key As Key

プロパティ値

Key

ジェスチャに関連付けられているキー。 既定値は None です。

注釈

ほとんどの場合、 は KeyGesture 1 つ以上 ModifierKeysに関連付けられている必要があります。 この規則の例外は、ファンクション キーとテンキー キーです。これは、それ自体で有効 KeyGesture にすることができます。

適用対象

こちらもご覧ください