共用方式為


MenuItem.OnInitMenuPopup(EventArgs) 方法

定義

引發 Popup 事件。

protected:
 virtual void OnInitMenuPopup(EventArgs ^ e);
protected public:
 virtual void OnInitMenuPopup(EventArgs ^ e);
protected virtual void OnInitMenuPopup (EventArgs e);
protected internal virtual void OnInitMenuPopup (EventArgs e);
abstract member OnInitMenuPopup : EventArgs -> unit
override this.OnInitMenuPopup : EventArgs -> unit
Protected Overridable Sub OnInitMenuPopup (e As EventArgs)
Protected Friend Overridable Sub OnInitMenuPopup (e As EventArgs)

參數

e
EventArgs

包含事件資料的 EventArgs

適用於