TaskProvider.Context 属性

获取激活了此任务提供程序的编辑的上下文。

命名空间:  Microsoft.Windows.Design.Interaction
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
Protected ReadOnly Property Context As EditingContext
    Get
protected EditingContext Context { get; }
protected:
property EditingContext^ Context {
    EditingContext^ get ();
}
member Context : EditingContext
function get Context () : EditingContext

属性值

类型:Microsoft.Windows.Design.EditingContext
一个 EditingContext 对象,表示已激活当前任务提供程序的对象。

备注

此属性仅在激活了任务提供程序后才可用。

.NET Framework 安全性

请参见

参考

TaskProvider 类

Microsoft.Windows.Design.Interaction 命名空间

其他资源

了解 WPF 设计器扩展性