AutomationPeer.GetAccessKeyCore Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Syntax

'Declaration
Protected MustOverride Function GetAccessKeyCore As String
protected abstract string GetAccessKeyCore()

Return Value

Type: System.String
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".

Notes to Inheritors

The initial implementation is empty.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.