ModelItemCollection Members
Include Protected Members
Include Inherited Members
Implements support for a collection of ModelItem objects.
The ModelItemCollection type exposes the following members.
Constructors
Name
Description
Initializes a new instance of the ModelItemCollection class.
Top
Methods
Name
Description
Overloaded. Adds an item to the collection.
Overloaded. When overridden in a derived class, this method is called when performing multiple operations on an object or group of objects.
When overridden in a derived class, clears the contents of the collection.
Overloaded. Returns a value indicating whether the collection contains the specified item.
When overridden in a derived class, copies the contents of the collection into the specified array.
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
When overridden in a derived class, returns the current value of the underlying model object the ModelItem is wrapping. (Inherited from ModelItem.)
When overridden in a derived class, returns an enumerator for the items in the collection.
Serves as a hash function for a particular type. (Inherited from Object.)
Gets the type of the current instance. (Inherited from Object.)
When overridden in a derived class, returns the index of the specified item.
Overloaded. Inserts an item at the specified location.
Creates a shallow copy of the current Object. (Inherited from Object.)
When overridden in a derived class, moves an item to a new index.
Overloaded. Removes an item from the collection.
When overridden in a derived class, removes an item at the specified index.
Returns a string that represents the current object. (Inherited from Object.)
Top
Fields
Name
Description
Identifies the Item dependency property.
Top
Properties
Name
Description
When overridden in a derived class, gets the attributes declared on this item. (Inherited from ModelItem.)
When overridden in a derived class, gets a ModelProperty representing the item's ContentPropertyAttribute. (Inherited from ModelItem.)
When overridden in a derived class, gets the count of items in the collection.
When overridden in a derived class, gets the public events on this object. (Inherited from ModelItem.)
When overridden in a derived class, gets a value indicating whether the collection is a fixed size.
When overridden in a derived class, gets a value indicating whether the collection can be modified.
When overridden in a derived class, gets a value indicating whether the collection is synchronized.
When overridden in a derived class, gets or sets the item at the specified index. This is a dependency property.
When overridden in a derived class, gets the type of object the item represents. (Inherited from ModelItem.)
When overridden in a derived class, gets or sets the name or ID of the item. (Inherited from ModelItem.)
When overridden in a derived class, gets the item that is the parent of this item. (Inherited from ModelItem.)
When overridden in a derived class, gets the public properties on this object. (Inherited from ModelItem.)
When overridden in a derived class, gets the item that is the root of this tree. (Inherited from ModelItem.)
When overridden in a derived class, gets the property that provided this value. (Inherited from ModelItem.)
When overridden in a derived class, gets an object that can be used to synchronize this collection.
When overridden in a derived class, gets the visual or visual3D representing the UI for this item. (Inherited from ModelItem.)
Top
Events
Name
Description
When overridden in a derived class, occurs when the contents of this collection is changed.
When overridden in a derived class, occurs when a property on the model changes. (Inherited from ModelItem.)
Top
Explicit Interface Implementations
Name
Description
For a description of this member, see IList.Add.
For a description of this member, see IList.Clear.
For a description of this member, see IList.Contains.
For a description of this member, see ICollection.CopyTo.
For a description of this member, see ICollection.Count.
For a description of this member, see IEnumerable.GetEnumerator.
For a description of this member, see IList.IndexOf.
For a description of this member, see IList.Insert.
For a description of this member, see IList.IsFixedSize.
For a description of this member, see IList.IsReadOnly.
For a description of this member, see ICollection.IsSynchronized.
For a description of this member, see IList.Item.
For a description of this member, see IList.Remove.
For a description of this member, see IList.RemoveAt.
For a description of this member, see ICollection.SyncRoot.
Top