MenuItem.OnInitialized(EventArgs) 方法

定義

發生於 IsInitialized 屬性設定為 true 並引發 Initialized 事件時。Called when the IsInitialized property is set to true and raises an Initialized event.

protected:
 override void OnInitialized(EventArgs ^ e);
protected override void OnInitialized (EventArgs e);
override this.OnInitialized : EventArgs -> unit
Protected Overrides Sub OnInitialized (e As EventArgs)

參數

e
EventArgs

Initialized 事件的事件資料。The event data for the Initialized event.

適用於