FrameworkView FrameworkView FrameworkView FrameworkView Class


Represents the UI window of an application.

public : sealed class FrameworkView : IFrameworkView, IFrameworkViewpublic sealed class FrameworkView : IFrameworkView, IFrameworkViewPublic NotInheritable Class FrameworkView Implements IFrameworkView, IFrameworkView// This API is not available in Javascript.
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


This class provides the infrastructure support so that the Application class has correct threading and object lifetime considerations for the IFrameworkView pattern used by the core app model. Most Windows Store app using C++, C#, or Visual Basic development scenarios don't do anything with this class directly.


FrameworkView() FrameworkView() FrameworkView() FrameworkView()

Initializes a new instance of the FrameworkView class.

public : FrameworkView()public FrameworkView()Public Sub New()// This API is not available in Javascript.


Initialize(CoreApplicationView) Initialize(CoreApplicationView) Initialize(CoreApplicationView) Initialize(CoreApplicationView)

Initializes the view.

public : void Initialize(CoreApplicationView applicationView)public void Initialize(CoreApplicationView applicationView)Public Function Initialize(applicationView As CoreApplicationView) As void// This API is not available in Javascript.

Load(String) Load(String) Load(String) Load(String)

Loads the view.

public : void Load(PlatForm::String entryPoint)public void Load(String entryPoint)Public Function Load(entryPoint As String) As void// This API is not available in Javascript.
PlatForm::String String String String

An identifier, such as a class name from the application code, that provides additional information about the view.

Run() Run() Run() Run()

Passes execution to the view provider.

public : void Run()public void Run()Public Function Run() As void// This API is not available in Javascript.

SetWindow(CoreWindow) SetWindow(CoreWindow) SetWindow(CoreWindow) SetWindow(CoreWindow)

Associates a Window with a view.

public : void SetWindow(CoreWindow window)public void SetWindow(CoreWindow window)Public Function SetWindow(window As CoreWindow) As void// This API is not available in Javascript.
CoreWindow CoreWindow CoreWindow CoreWindow

The Window to associate.

Uninitialize() Uninitialize() Uninitialize() Uninitialize()

Returns the view to the uninitialized state.

public : void Uninitialize()public void Uninitialize()Public Function Uninitialize() As void// This API is not available in Javascript.