ModelItemCollection.ItemProperty 字段

标识 Item 依赖项属性。

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

语法

声明
Public Shared ReadOnly ItemProperty As PropertyIdentifier
public static readonly PropertyIdentifier ItemProperty
public:
static initonly PropertyIdentifier ItemProperty
static val ItemProperty: PropertyIdentifier
public static final var ItemProperty : PropertyIdentifier

字段值

类型:Microsoft.Windows.Design.Metadata.PropertyIdentifier
Item 依赖项属性的标识符。

备注

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

.NET Framework 安全性

请参见

参考

ModelItemCollection 类

Microsoft.Windows.Design.Model 命名空间

其他资源

WPF 设计器扩展性体系结构