| GraphicsScreenCollection Class |
Namespace: DigitalRune.Graphics
The GraphicsScreenCollection type exposes the following members.
| Name | Description | |
|---|---|---|
| GraphicsScreenCollection |
Initializes a new instance of the GraphicsScreenCollection class.
|
| Name | Description | |
|---|---|---|
| Add | Adds an object to the end of the CollectionT. (Inherited from CollectionGraphicsScreen.) | |
| AddRange |
Adds the elements of the specified collection to the end of the
NotifyingCollectionT.
(Inherited from NotifyingCollectionT.) | |
| Clear | Removes all elements from the CollectionT. (Inherited from CollectionGraphicsScreen.) | |
| ClearItems |
Removes all elements from the CollectionT.
(Inherited from NotifyingCollectionT.) | |
| Contains | Determines whether an element is in the CollectionT. (Inherited from CollectionGraphicsScreen.) | |
| CopyTo | Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from CollectionGraphicsScreen.) | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetEnumerator |
Returns an enumerator that iterates through the NotifyingCollectionT.
(Inherited from NotifyingCollectionT.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT. (Inherited from CollectionGraphicsScreen.) | |
| Insert | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionGraphicsScreen.) | |
| InsertItem |
Inserts an element into the CollectionT at the specified index.
(Inherited from NotifyingCollectionT.) | |
| InsertRange |
Inserts the elements of a collection into the NotifyingCollectionT at the
specified index.
(Inherited from NotifyingCollectionT.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Move |
Moves the item at the specified index to a new location in the collection.
(Inherited from NotifyingCollectionT.) | |
| MoveItem |
Moves the item at the specified index to a new location in the collection.
(Inherited from NotifyingCollectionT.) | |
| OnCollectionChanged |
Raises the CollectionChanged event.
(Inherited from NotifyingCollectionT.) | |
| Remove | Removes the first occurrence of a specific object from the CollectionT. (Inherited from CollectionGraphicsScreen.) | |
| RemoveAt | Removes the element at the specified index of the CollectionT. (Inherited from CollectionGraphicsScreen.) | |
| RemoveItem |
Removes the element at the specified index of the CollectionT.
(Inherited from NotifyingCollectionT.) | |
| RemoveRange |
Removes a range of elements from the NotifyingCollectionT.
(Inherited from NotifyingCollectionT.) | |
| SetItem |
Replaces the element at the specified index.
(Inherited from NotifyingCollectionT.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| AllowDuplicates |
Gets or sets a value indicating whether duplicate items are allowed in the collection.
(Inherited from NotifyingCollectionT.) | |
| AllowNull |
Gets or sets a value indicating whether items are allowed in the
collection.
(Inherited from NotifyingCollectionT.) | |
| Count | Gets the number of elements actually contained in the CollectionT. (Inherited from CollectionGraphicsScreen.) | |
| ItemInt32 | Gets or sets the element at the specified index. (Inherited from CollectionGraphicsScreen.) | |
| ItemString |
Gets the GraphicsScreen with the specified name.
| |
| Items | Gets a IListT wrapper around the CollectionT. (Inherited from CollectionGraphicsScreen.) |
| Name | Description | |
|---|---|---|
| CollectionChanged |
Occurs when items were added, replaced or removed.
(Inherited from NotifyingCollectionT.) |
| Name | Description | |
|---|---|---|
| IListAdd | Adds an item to the IList. (Inherited from CollectionGraphicsScreen.) | |
| IListContains | Determines whether the IList contains a specific value. (Inherited from CollectionGraphicsScreen.) | |
| ICollectionCopyTo | (Inherited from CollectionGraphicsScreen.) | |
| IEnumerableGetEnumerator | Returns an enumerator that iterates through a collection. (Inherited from CollectionGraphicsScreen.) | |
| IListIndexOf | Determines the index of a specific item in the IList. (Inherited from CollectionGraphicsScreen.) | |
| IListInsert | Inserts an item into the IList at the specified index. (Inherited from CollectionGraphicsScreen.) | |
| IListIsFixedSize | Gets a value indicating whether the IList has a fixed size. (Inherited from CollectionGraphicsScreen.) | |
| ICollectionTIsReadOnly | Gets a value indicating whether the ICollectionT is read-only. (Inherited from CollectionGraphicsScreen.) | |
| IListIsReadOnly | Gets a value indicating whether the IList is read-only. (Inherited from CollectionGraphicsScreen.) | |
| ICollectionIsSynchronized | Gets a value indicating whether access to the ICollection is synchronized (thread safe). (Inherited from CollectionGraphicsScreen.) | |
| IListItem | Gets or sets the element at the specified index. (Inherited from CollectionGraphicsScreen.) | |
| IListRemove | Removes the first occurrence of a specific object from the IList. (Inherited from CollectionGraphicsScreen.) | |
| ICollectionSyncRoot | Gets an object that can be used to synchronize access to the ICollection. (Inherited from CollectionGraphicsScreen.) |
When a new GraphicsScreen is added to the collection it is inserted at the end of the list. The item at index 0 is considered the backmost graphics screen. The item at index (Count - 1) is considered the foremost graphics screen. The graphics service renders graphics screens back to front.
Note: The default enumerator (see GetEnumerator) iterates the items from back to front.