HwndSource.OnMnemonicCore(MSG, ModifierKeys) Methode

Definition

Wird aufgerufen, wenn eine der Mnemonics (Zugriffstasten) für diese Spüle aufgerufen wird.

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);
[<System.Security.SecurityCritical>]
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

Parameter

msg
MSG

Die Nachricht für die mnemonic und die zugehörigen Daten.

modifiers
ModifierKeys

Zusatztasten.

Gibt zurück

truewenn die Nachricht behandelt wurde; andernfalls . false

Attribute

Ausnahmen

msg ist nicht WM_KEYDOWN, WM_SYSKEYDOWN, WM_CHAR oder WM_DEADCHAR.

Gilt für:

Weitere Informationen