KeyGesture.Key Właściwość

Definicja

Pobiera klucz skojarzony z tym KeyGestureelementem .

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

Wartość właściwości

Key

Klucz skojarzony z gestem. Wartość domyślna to None.

Uwagi

W większości przypadków KeyGesture element musi być skojarzony z co najmniej jednym ModifierKeyselementem . Wyjątki od tej reguły to klucze funkcji i klucze klawiatury liczbowej, które mogą być prawidłowe KeyGesture samodzielnie.

Dotyczy

Zobacz też