CoreInkPresenterHost 类

定义

表示一个对象,该对象托管 InkPresenter 而无需 InkCanvas 控件。

public ref class CoreInkPresenterHost sealed
/// [Windows.Foundation.Metadata.Activatable(327680, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class CoreInkPresenterHost final
[Windows.Foundation.Metadata.Activatable(327680, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class CoreInkPresenterHost
Public NotInheritable Class CoreInkPresenterHost
继承
Object Platform::Object IInspectable CoreInkPresenterHost
属性

Windows 要求

设备系列
Windows 10 Fall Creators Update (在 10.0.16299.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v5.0 中引入)

构造函数

CoreInkPresenterHost()

初始化用于管理 InkPresenter 的新 CoreInkPresenterHost 对象。

属性

InkPresenter

获取对此 CoreInkPresenterHost 关联的 InkPresenter 的引用。

RootVisual

获取或设置 CoreInkPresenterHost 绘制到的根视觉对象容器。

适用于