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 にすることができます。

適用対象

こちらもご覧ください