AutomationPeer.GetAcceleratorKeyCore Method


When overridden in a derived class, is called by GetAcceleratorKey().

 abstract System::String ^ GetAcceleratorKeyCore();
protected abstract string GetAcceleratorKeyCore ();
abstract member GetAcceleratorKeyCore : unit -> string
Protected MustOverride Function GetAcceleratorKeyCore () As String


The accelerator key.


If an application responds to keyboard events to provide shortcut key behavior, it should return a string that contains the keyboard shortcut combination. For example, for an element that can copy text to the clipboard, this attached property might be set to the value "CTRL+C".

Applies to

See also