Bewerken

Delen via


AutomationPeer.GetAcceleratorKeyCore Method

Definition

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

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

Returns

The accelerator key.

Remarks

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