Share via


AdornerProvider.Context 属性

[本文档仅供预览,在以后的发行版中可能会发生更改。包含的空白主题用作占位符。]

获取激活了此装饰器提供程序的编辑上下文。

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

语法

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

属性值

类型:Microsoft.Windows.Design.EditingContext
一个激活了此装饰器提供程序的 EditingContext

备注

此属性仅在激活了装饰器提供程序后才可用。

.NET Framework 安全性

请参见

参考

AdornerProvider 类

Microsoft.Windows.Design.Interaction 命名空间

其他资源

装饰器体系结构

功能提供程序和功能连接器

演练:创建设计时装饰器