Windows Dev Center

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

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft