AutomationPeer.GetAccessKeyCore Method

Definition

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

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

Returns

The string that contains the access key.

Remarks

An access key (sometimes referred to as a keyboard shortcut or mnemonic) is a character in the text of a menu, menu item, or label of a control such as a button that invokes the associated menu function. For example, to provide a shortcut way to open the File menu (for which the access key is typically F), an element might have this attached property set to "ALT+F".

Applies to

See also