ButtonBase.OnAccessKey Method (AccessKeyEventArgs)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: