FrameworkView FrameworkView FrameworkView FrameworkView Class

Definition

Represents the UI window of an application.

public : sealed class FrameworkView : IFrameworkView, IFrameworkView
struct winrt::Windows::UI::Xaml::FrameworkView : IFrameworkView, IFrameworkView
public sealed class FrameworkView : IFrameworkView, IFrameworkView
Public NotInheritable Class FrameworkView Implements IFrameworkView, IFrameworkView
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

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.

Constructors

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

Initializes a new instance of the FrameworkView class.

Methods

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