共用方式為


ContextMenu.OnPopup(EventArgs) 方法

定義

引發 Popup 事件。

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

參數

e
EventArgs

包含事件資料的 EventArgs

適用於