EditingContext.Items 属性

更新:2007 年 11 月

获取由此编辑上下文提供的上下文项的本地集合。

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

语法

声明
Public ReadOnly Property Items As ContextItemManager
用法
Dim instance As EditingContext
Dim value As ContextItemManager

value = instance.Items
public ContextItemManager Items { get; }
public:
property ContextItemManager^ Items {
    ContextItemManager^ get ();
}
public function get Items () : ContextItemManager

属性值

类型:Microsoft.Windows.Design.ContextItemManager

一个由此编辑上下文提供的上下文项的 ContextItemManager

异常

异常 条件
InvalidOperationException

CreateContextItemManager 方法已返回 nullnull 引用(在 Visual Basic 中为 Nothing)ContextItemManager

权限

另请参见

参考

EditingContext 类

EditingContext 成员

Microsoft.Windows.Design 命名空间

ServiceManager

ContextItemManager

ContextItem

FeatureManager

其他资源

编辑上下文体系结构

了解 WPF 设计器扩展性