Click or drag to resize

ScreenOverlayCollectionBase Class

The common base class for collections of overlays held by ScreenOverlay and by ScreenOverlayManager.
Inheritance Hierarchy

Namespace:  AGI.Foundation.Graphics.Advanced
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 19.2.399.0 (19.2.399.0)
Syntax
public class ScreenOverlayCollectionBase : ICollection<ScreenOverlay>, 
	IEnumerable<ScreenOverlay>, IDisposable

The ScreenOverlayCollectionBase type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of screen overlays in the collection.
Public propertyIsReadOnly
Gets a value indicating whether the collection is read-only.
Public propertyItem
Gets the overlay at the specified index.
Top
Methods
  NameDescription
Public methodAdd
Adds an overlay to the collection.
Public methodClear
Removes all overlays from the collection.
Public methodContains
Determines whether the collection contains a specific overlay.
Public methodCopyTo
Copies the elements of the collection starting at startingIndex into an array.
Public methodDispose
Protected methodDispose(Boolean)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the first occurrence of a specific overlay from the collection.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also