View.OnActivate(EventArgs) 方法

定義

引發 Activate 控制項的 View 事件。

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

包含事件資料的 EventArgs

備註

Activate當目前 View 控制項變成使用中檢視時,就會引發 事件。

適用於

另請參閱