ButtonBase.OnAccessKey Method (AccessKeyEventArgs)


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 Overrides Sub OnAccessKey (
	e As AccessKeyEventArgs


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