FrameworkView FrameworkView FrameworkView Class


Represents the UI window of an application.

public : sealed class FrameworkView : IFrameworkView, IFrameworkView
public sealed class FrameworkView : IFrameworkView, IFrameworkView
Public NotInheritable Class FrameworkView Implements IFrameworkView, IFrameworkView
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 UWP app using C++, C#, or Visual Basic development scenarios don't do anything with this class directly.


FrameworkView() FrameworkView() FrameworkView()

Initializes a new instance of the FrameworkView class.

public : FrameworkView()
public FrameworkView()
Public Sub New()


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

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
Platform::String String String

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

Run() Run() Run()

Passes execution to the view provider.

public : void Run()
public void Run()
Public Function Run() As void

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
CoreWindow CoreWindow CoreWindow

The Window to associate.

Uninitialize() Uninitialize() Uninitialize()

Returns the view to the uninitialized state.

public : void Uninitialize()
public void Uninitialize()
Public Function Uninitialize() As void