共用方式為


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 事件的事件資料。

屬性

適用於