IModulePage.OnActivated(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.