Framework​View Framework​View Framework​View Class

Definition

Represents the UI window of an application.

public sealed class FrameworkView : IFrameworkView, IFrameworkViewpublic sealed class FrameworkView : IFrameworkView, IFrameworkViewPublic 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 Windows Store app using C++, C#, or Visual Basic development scenarios don't do anything with this class directly.

Constructors

FrameworkView() FrameworkView() FrameworkView()

Initializes a new instance of the FrameworkView class.

public FrameworkView()public FrameworkView()Public Sub New()
Attributes

Methods

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
Parameters
Attributes

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

Loads the view.

public void Load(String entryPoint)public void Load(String entryPoint)Public Function Load(entryPoint As String) As void
Parameters
entryPoint
System.String System.String System.String

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

Attributes

Run() Run() Run()

Passes execution to the view provider.

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

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

The Window to associate.

Attributes

Uninitialize() Uninitialize() Uninitialize()

Returns the view to the uninitialized state.

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