次の方法で共有


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 依存関係プロパティの識別子。

解説

このプロパティは、コレクションで定義されている任意のプロパティに加えて、コレクションの Properties 列挙体から返されます。 Item プロパティはコレクションのすべての項目を表し、ModelItemIEnumerable 型として定義されます。 コレクションのすべての項目の Source プロパティがこのプロパティに設定されています。 このプロパティのメタデータは、これをブラウザーで表示できず、シリアル化もできないプロパティとしてマークします。 Item プロパティは、実際にはモデルで設定されないため、"擬似" プロパティです。 指し示す値は ModelItemCollection 自体です。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

ModelItemCollection クラス

Microsoft.Windows.Design.Model 名前空間

その他の技術情報

WPF デザイナーの機能拡張アーキテクチャ