Share via


FrameworkView Class

Definition

Represents the UI window of an application.

public ref class FrameworkView sealed : IFrameworkView
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class FrameworkView final : IFrameworkView
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class FrameworkView : IFrameworkView
Public NotInheritable Class FrameworkView
Implements IFrameworkView
Inheritance
Object Platform::Object IInspectable FrameworkView
Attributes
Implements

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 App SDK apps using C++ or C# development scenarios don't do anything with this class directly.

Constructors

FrameworkView()

Initializes a new instance of the FrameworkView class.

Methods

Initialize(CoreApplicationView)

Initializes the view.

Load(String)

Loads the view.

Run()

Passes execution to the view provider.

SetWindow(CoreWindow)

Associates a Window with a view.

Uninitialize()

Returns the view to the uninitialized state.

Applies to

See also