Share via


IModulePage.OnActivated(Boolean) Method

Definition

Provides processing information when the page is activated.

public:
 void OnActivated(bool initialActivation);
public void OnActivated (bool initialActivation);
abstract member OnActivated : bool -> unit
Public Sub OnActivated (initialActivation As Boolean)

Parameters

initialActivation
Boolean

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

Remarks

The application should check the value of the initialActivation parameter prior to doing time-consuming one-time initialization work. initialActivation enables the application to perform such actions as loading a PreferenceKey or progress bar before initializing the page.

Applies to

See also