HwndSource.OnMnemonicCore(MSG, ModifierKeys) Metoda

Definicja

Wywoływana, gdy jest wywoływany jeden z mnemonics (kluczy dostępu) dla tego ujścia.

protected:
 virtual bool OnMnemonicCore(System::Windows::Interop::MSG % msg, System::Windows::Input::ModifierKeys modifiers);
[System.Security.SecurityCritical]
protected virtual bool OnMnemonicCore (ref System.Windows.Interop.MSG msg, System.Windows.Input.ModifierKeys modifiers);
protected virtual bool OnMnemonicCore (ref System.Windows.Interop.MSG msg, System.Windows.Input.ModifierKeys modifiers);
[<System.Security.SecurityCritical>]
abstract member OnMnemonicCore : MSG * System.Windows.Input.ModifierKeys -> bool
override this.OnMnemonicCore : MSG * System.Windows.Input.ModifierKeys -> bool
abstract member OnMnemonicCore : MSG * System.Windows.Input.ModifierKeys -> bool
override this.OnMnemonicCore : MSG * System.Windows.Input.ModifierKeys -> bool
Protected Overridable Function OnMnemonicCore (ByRef msg As MSG, modifiers As ModifierKeys) As Boolean

Parametry

msg
MSG

Komunikat dotyczący mnemonic i skojarzonych danych.

modifiers
ModifierKeys

Modyfikatory kluczy.

Zwraca

true jeśli komunikat został obsłużony; w przeciwnym razie , false.

Atrybuty

Wyjątki

msg nie jest WM_KEYDOWN, WM_SYSKEYDOWN, WM_CHAR ani WM_DEADCHAR.

Dotyczy

Zobacz też