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


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