ModelItemCollection.ItemProperty 字段

更新:2007 年 11 月

标识 Item 依赖项属性。

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

语法

声明
Public Shared ReadOnly ItemProperty As DependencyProperty
用法
Dim value As DependencyProperty

value = ModelItemCollection.ItemProperty
public static readonly DependencyProperty ItemProperty
public:
static initonly DependencyProperty^ ItemProperty
public static final var ItemProperty : DependencyProperty

字段值

类型:System.Windows.DependencyProperty

Item 依赖项属性的标识符。

备注

此属性随同在集合上定义的任何属性从集合的 Properties 枚举返回。Item 属性表示集合中的所有项,并定义为 ModelItem 的类型 IEnumerable。集合中的所有项都将其 Source 属性设置为此属性。此属性的元数据将其标记为不可浏览且不可序列化。Item 属性是“伪”属性,因为它实际上不是在模型上设置的。它指向的值是 ModelItemCollection 本身。

权限

另请参见

参考

ModelItemCollection 类

ModelItemCollection 成员

Microsoft.Windows.Design.Model 命名空间

其他资源

WPF 设计器扩展性体系结构