FrameworkView FrameworkView FrameworkView FrameworkView Class


Represents the UI window of an application.

public : sealed class FrameworkView : IFrameworkView
struct winrt::Windows::UI::Xaml::FrameworkView : IFrameworkView
public sealed class FrameworkView : IFrameworkView
Public NotInheritable Class FrameworkView Implements 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() FrameworkView()

Initializes a new instance of the FrameworkView class.


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

Initializes the view.

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

Loads the view.

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

Passes execution to the view provider.

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

Associates a Window with a view.

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

Returns the view to the uninitialized state.

See also