Click or drag to resize
DigitalRuneGraphicsScreenCollection Class
Manages a collection of GraphicsScreens.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionGraphicsScreen
    DigitalRune.CollectionsNotifyingCollectionGraphicsScreen
      DigitalRune.GraphicsGraphicsScreenCollection

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public class GraphicsScreenCollection : NotifyingCollection<GraphicsScreen>

The GraphicsScreenCollection type exposes the following members.

Constructors
  NameDescription
Public methodGraphicsScreenCollection
Initializes a new instance of the GraphicsScreenCollection class.
Top
Methods
  NameDescription
Public methodAdd (Inherited from CollectionGraphicsScreen.)
Public methodAddRange (Inherited from NotifyingCollectionT.)
Public methodClear (Inherited from CollectionGraphicsScreen.)
Protected methodClearItems (Inherited from NotifyingCollectionT.)
Public methodContains (Inherited from CollectionGraphicsScreen.)
Public methodCopyTo (Inherited from CollectionGraphicsScreen.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator (Inherited from NotifyingCollectionT.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf (Inherited from CollectionGraphicsScreen.)
Public methodInsert (Inherited from CollectionGraphicsScreen.)
Protected methodInsertItem (Inherited from NotifyingCollectionT.)
Public methodInsertRange (Inherited from NotifyingCollectionT.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMove
Moves the item at the specified index to a new location in the collection.
(Inherited from NotifyingCollectionT.)
Protected methodMoveItem
Moves the item at the specified index to a new location in the collection.
(Inherited from NotifyingCollectionT.)
Protected methodOnCollectionChanged
Raises the CollectionChanged event.
(Inherited from NotifyingCollectionT.)
Public methodRemove (Inherited from CollectionGraphicsScreen.)
Public methodRemoveAt (Inherited from CollectionGraphicsScreen.)
Protected methodRemoveItem (Inherited from NotifyingCollectionT.)
Public methodRemoveRange (Inherited from NotifyingCollectionT.)
Protected methodSetItem
Replaces the element at the specified index.
(Inherited from NotifyingCollectionT.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyAllowDuplicates
Gets or sets a value indicating whether duplicate items are allowed in the collection.
(Inherited from NotifyingCollectionT.)
Public propertyAllowNull
Gets or sets a value indicating whether items are allowed in the collection.
(Inherited from NotifyingCollectionT.)
Public propertyCount (Inherited from CollectionGraphicsScreen.)
Public propertyItemInt32
Gets or sets the element at the specified index.
(Inherited from CollectionGraphicsScreen.)
Public propertyItemString
Gets the GraphicsScreen with the specified name.
Protected propertyItems (Inherited from CollectionGraphicsScreen.)
Top
Events
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIListAdd
Adds an item to the IList.
(Inherited from CollectionGraphicsScreen.)
Explicit interface implementationPrivate methodIListContains
Determines whether the IList contains a specific value.
(Inherited from CollectionGraphicsScreen.)
Explicit interface implementationPrivate methodICollectionCopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from CollectionGraphicsScreen.)
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from CollectionGraphicsScreen.)
Explicit interface implementationPrivate methodIListIndexOf
Determines the index of a specific item in the IList.
(Inherited from CollectionGraphicsScreen.)
Explicit interface implementationPrivate methodIListInsert
Inserts an item into the IList at the specified index.
(Inherited from CollectionGraphicsScreen.)
Explicit interface implementationPrivate propertyIListIsFixedSize
Gets a value indicating whether the IList has a fixed size.
(Inherited from CollectionGraphicsScreen.)
Explicit interface implementationPrivate propertyICollectionTIsReadOnly (Inherited from CollectionGraphicsScreen.)
Explicit interface implementationPrivate propertyIListIsReadOnly
Gets a value indicating whether the IList is read-only.
(Inherited from CollectionGraphicsScreen.)
Explicit interface implementationPrivate propertyICollectionIsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from CollectionGraphicsScreen.)
Explicit interface implementationPrivate propertyIListItem
Gets or sets the element at the specified index.
(Inherited from CollectionGraphicsScreen.)
Explicit interface implementationPrivate methodIListRemove
Removes the first occurrence of a specific object from the IList.
(Inherited from CollectionGraphicsScreen.)
Explicit interface implementationPrivate propertyICollectionSyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from CollectionGraphicsScreen.)
Top
Remarks

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.

See Also