Edit

Share via


ActiveXHost.OnAccessKey(AccessKeyEventArgs) Method

Definition

Provides class handling for when an access key that is meaningful for this element is invoked.

This API supports the product infrastructure and is not intended to be used directly from your code.

protected:
 override void OnAccessKey(System::Windows::Input::AccessKeyEventArgs ^ args);
protected override void OnAccessKey (System.Windows.Input.AccessKeyEventArgs args);
override this.OnAccessKey : System.Windows.Input.AccessKeyEventArgs -> unit
Protected Overrides Sub OnAccessKey (args As AccessKeyEventArgs)

Parameters

args
AccessKeyEventArgs

The event data to the access key event. The event data reports which key was invoked, and indicate whether the AccessKeyManager object that controls the sending of these events also sent this access key invocation to other elements.

Applies to