KeyGesture.Key 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得與此 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
屬性值
與這個動作相關的鑰匙。 預設值為 None。
備註
在大多數情況下,a KeyGesture 必須與一個或多個 ModifierKeys相關聯。 此規則的例外是功能鍵和數字鍵盤鍵,兩者本身都可以有效 KeyGesture 。