MenuItem.OnAccessKey(AccessKeyEventArgs) 方法

定义

在调用此控件的 AccessKey 时响应。

protected:
 override void OnAccessKey(System::Windows::Input::AccessKeyEventArgs ^ e);
[System.Security.SecurityCritical]
protected override void OnAccessKey (System.Windows.Input.AccessKeyEventArgs e);
protected override void OnAccessKey (System.Windows.Input.AccessKeyEventArgs e);
[<System.Security.SecurityCritical>]
override this.OnAccessKey : System.Windows.Input.AccessKeyEventArgs -> unit
override this.OnAccessKey : System.Windows.Input.AccessKeyEventArgs -> unit
Protected Overrides Sub OnAccessKey (e As AccessKeyEventArgs)

参数

e
AccessKeyEventArgs

AccessKeyPressed 事件的事件数据。

属性

适用于