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 屬性表示集合中的所有項目,且定義為 ModelItem 的 IEnumerable 型別。 集合中的所有項目都會將自己的 Source 屬性設定為這個屬性。 屬性的中繼資料會將屬性標記為不可瀏覽和不可序列化。 Item 屬性是「虛擬」屬性,因為不會實際在模型上設定該屬性。 所指向的值是 ModelItemCollection 本身。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.Windows.Design.Model 命名空間