Export (0) Print
Expand All

VisualCollection Members

An ordered collection of Visual objects. This class cannot be inherited.

The following tables list the members exposed by the VisualCollection type.

  Name Description
Public method VisualCollection Initializes a new instance of the VisualCollection class.
Top

  Name Description
Public property Capacity Gets or sets the number of elements that the VisualCollection can contain.
Public property Count Gets the number of elements in the collection.
Public property IsReadOnly Gets a value that indicates whether the VisualCollection is read-only.
Public property IsSynchronized Gets a value that indicates whether access to the VisualCollection is synchronized (thread-safe).
Public property Item Gets or sets the Visual that is stored at the zero-based index of the VisualCollection.
Public property SyncRoot Gets an object that can be used to synchronize access to the VisualCollection.
Top

(see also Protected Methods )
  Name Description
Public method Add Appends a Visual to the end of the VisualCollection.
Public method Clear Removes all elements from the VisualCollection.
Public method Contains Returns a Boolean value that indicates whether the specified Visual is contained in the collection.
Public method CopyTo Overloaded. Copies the current collection into the passed array.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetEnumerator Retrieves an enumerator that can iterate through the VisualCollection.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method IndexOf Returns the zero-based index of the Visual.
Public method Insert Inserts an element into the VisualCollection at the specified index.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Remove Removes the specified Visual object from the VisualCollection.
Public method RemoveAt Removes the visual object at the specified index in the VisualCollection.
Public method RemoveRange Removes a range of visual objects from the VisualCollection.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

  Name Description
Explicit interface implementation Method System.Collections.IEnumerable.GetEnumerator This member supports the WPF infrastructure and is not intended to be used directly from your code.
Top

Community Additions

ADD
Show:
© 2014 Microsoft