View.OnActivate(EventArgs) 方法

定義

引發 Activate 控制項的 View 事件。Raises the Activate event of the View control.

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

參數

e
EventArgs

包含事件資料的 EventArgsAn EventArgs that contains the event data.

備註

Activate當目前的 View 控制項成為現用視圖時,就會引發事件。The Activate event is raised when the current View control becomes the active view.

適用於

另請參閱