PageContent::GetPageRoot Method (Boolean)
.NET Framework (current version)
Loads and returns the FixedPage content element.
Assembly: PresentationFramework (in PresentationFramework.dll)
Parameters
- forceReload
-
Type:
System::Boolean
true to always reload the FixedPage even if it has been previously loaded and cached; false to load the FixedPage only if there is no cached version.
Return Value
Type: System.Windows.Documents::FixedPage^The root element of the visual tree for this page.
GetPageRoot performs synchronous loading and parsing of the FixedPage.
Note |
|---|
Use the GetPageRootAsyncinstead of GetPageRoot to avoid thread blocking while the FixedPage loads. |
.NET Framework
Available since 3.0
Available since 3.0
Show:
