EditingContext.CreateContextItemManager 方法

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

创建从 Items 属性返回的上下文项管理器的实例。

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

语法

声明
Protected Overridable Function CreateContextItemManager As ContextItemManager
protected virtual ContextItemManager CreateContextItemManager()
protected:
virtual ContextItemManager^ CreateContextItemManager()
abstract CreateContextItemManager : unit -> ContextItemManager 
override CreateContextItemManager : unit -> ContextItemManager 
protected function CreateContextItemManager() : ContextItemManager

返回值

类型:Microsoft.Windows.Design.ContextItemManager
ContextItemManager 类的实现。

备注

默认实现将创建一个 ContextItemManager,它支持通过 SubscribeContextCallback<TContextItemType> 的声明来延迟激活设计编辑器管理器。

.NET Framework 安全性

请参见

参考

EditingContext 类

Microsoft.Windows.Design 命名空间

ServiceManager

ContextItemManager

ContextItem

FeatureManager

其他资源

编辑上下文体系结构

了解 WPF 设计器扩展性