AutomationPeer.GetAccessKeyCore Method

July 28, 2014

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

Namespace:  System.Windows.Automation.Peers
Assembly:  System.Windows (in System.Windows.dll)

protected abstract string GetAccessKeyCore()

Return Value

Type: System.String
The access key.

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".

Notes to Inheritors

The initial implementation is empty.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft