編輯

共用方式為


DesignerView.OnActivate Method

Definition

Notifies the designer when the view is activated.

public:
 virtual void OnActivate();
public virtual void OnActivate ();
abstract member OnActivate : unit -> unit
override this.OnActivate : unit -> unit
Public Overridable Sub OnActivate ()

Remarks

OnActivate has no default behavior; classes that inherit from DesignerView must implement their own logic.

Applies to