FrameworkViewSource 类

定义

创建视图,特别是 FrameworkView 实例。 这是基础结构,在大多数应用方案中不需要访问。

public ref class FrameworkViewSource sealed : IFrameworkViewSource
/// [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 FrameworkViewSource final : IFrameworkViewSource
[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 FrameworkViewSource : IFrameworkViewSource
Public NotInheritable Class FrameworkViewSource
Implements IFrameworkViewSource
继承
Object Platform::Object IInspectable FrameworkViewSource
属性
实现

构造函数

FrameworkViewSource()

初始化 FrameworkViewSource 类的新实例。

方法

CreateView()

创建 FrameworkView

适用于

另请参阅