Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ButtonBase.OnAccessKey Method (AccessKeyEventArgs)

 

Responds when the AccessKey for this control is called.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override void OnAccessKey(
	AccessKeyEventArgs e
)

Parameters

e
Type: System.Windows.Input.AccessKeyEventArgs

The event data for the AccessKeyPressed event.

If IsMultiple is true, this method calls the base implementation, which gives this control focus. Otherwise, this method raises the Click event.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft