VisualCollection Members

Represents an ordered collection of Visual objects.

The VisualCollection type exposes the following members.

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

  NameDescription
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 Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (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

  NameDescription
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

  NameDescription
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

  NameDescription
Explicit interface implemetation Private method IEnumerable.GetEnumerator This member supports the WPF infrastructure and is not intended to be used directly from your code. For a description of this member, see GetEnumerator.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft