FrameworkView Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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. |