GetAcceleratorKeyCore Method
Collapse the table of content
Expand the table of content

AutomationPeer.GetAcceleratorKeyCore Method ()


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

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

protected abstract string GetAcceleratorKeyCore()

Return Value

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

.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
© 2015 Microsoft