ModulePropertiesPage.OnActivated(Boolean) Method

Definition

Indicates that the page is activated.

protected:
 override void OnActivated(bool initialActivation);
protected override void OnActivated (bool initialActivation);
override this.OnActivated : bool -> unit
Protected Overrides Sub OnActivated (initialActivation As Boolean)

Parameters

initialActivation
Boolean

true to do additional processing for the first activation; otherwise, false.

Examples

The following example loads the preference store.

protected override void OnActivated(bool initialActivation) {
    base.OnActivated(initialActivation);

    if (initialActivation) {
        LoadPreferences(MyPrefStore);
    }
}

Remarks

You do not need to override this method.

Applies to