Provides class handling for when an access key that is meaningful for this element is invoked.
Assembly: PresentationCore (in PresentationCore.dll)
There is no actual AccessKey event in the UIElement class, or elsewhere, which you can raise or attach handlers for. Instead, the event is originated via a dedicated manager class, AccessKeyManager, which post-processes all input to search for access keys that are applicable to the entire input model.Notes to Inheritors
The default implementation of this method in UIElement sets keyboard focus to this element (by calling Focus). Implementations should perpetuate this behavior if they are focusable, because it is an expected behavior for accessibility scenarios. Note that the base implementation does nothing with the passed event data and raises no further event; it just sets the focus.
Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.