ModelItemCollection Class
Implements support for a collection of ModelItem objects.
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustInherit Class ModelItemCollection _
Inherits ModelItem _
Implements IList(Of ModelItem), ICollection(Of ModelItem), _
IEnumerable(Of ModelItem), IList, ICollection, IEnumerable, _
INotifyCollectionChanged
'Usage
Dim instance As ModelItemCollection
public abstract class ModelItemCollection : ModelItem,
IList<ModelItem>, ICollection<ModelItem>, IEnumerable<ModelItem>,
IList, ICollection, IEnumerable, INotifyCollectionChanged
public ref class ModelItemCollection abstract : public ModelItem,
IList<ModelItem^>, ICollection<ModelItem^>, IEnumerable<ModelItem^>,
IList, ICollection, IEnumerable, INotifyCollectionChanged
public abstract class ModelItemCollection extends ModelItem implements IList<ModelItem>, ICollection<ModelItem>, IEnumerable<ModelItem>, IList, ICollection, IEnumerable, INotifyCollectionChanged
Remarks
ModelItemCollection derives from ModelItem and implements support for a collection of items. ModelItemCollection defines a static attached property name Item. This property is returned from the Properties enumeration of the collection, in addition to any properties defined on the collection. The Item property represents all the items in the collection and is defined as type IEnumerable of ModelItem. All items in the collection have their Source property set to this property. The property’s metadata marks it non-browsable and non-serializable. The Item property is a "pseudo" property because it is not actually set on the model. The value it points to is the ModelItemCollection itself.
Inheritance Hierarchy
System.Object
Microsoft.Windows.Design.Model.ModelItem
Microsoft.Windows.Design.Model.ModelItemCollection
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.Windows.Design.Model Namespace