Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic

UIElementCollection Members

Represents an ordered collection of UIElements.

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

  Name Description
Public method UIElementCollection Initializes a new instance of the UIElementCollection class.
Top
  Name Description
Public property Capacity Gets or sets the number of elements that the UIElementCollection can contain.
Public property Count Gets the actual number of elements in the collection.
Public property IsSynchronized Gets a value that indicates whether access to the ICollection interface is synchronized (thread-safe).
Public property Item Gets or sets the UIElement stored at the zero-based index position of the UIElementCollection.
Public property SyncRoot Gets an object that you can use to synchronize access to the ICollection interface.
Top
(see also Protected Methods )
  Name Description
Public method Add Adds the specified element to the UIElementCollection.
Public method Clear Removes all elements from a UIElementCollection.
Public method Contains Determines whether a specified element is in the UIElementCollection.
Public method CopyTo Overloaded. Copies a UIElement from a UIElementCollection to an array, starting at a specified index position.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetEnumerator Returns an enumerator that can iterate the UIElementCollection.
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 index position of a specified element in a UIElementCollection.
Public method Insert Inserts an element into a UIElementCollection at the specified index position.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Remove Removes the specified element from a UIElementCollection.
Public method RemoveAt Removes the UIElement at the specified index.
Public method RemoveRange Removes a range of elements from a UIElementCollection.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top
  Name Description
Protected method ClearLogicalParent Clears the logical parent of an element when the element leaves a UIElementCollection.
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)
Protected method SetLogicalParent Sets the logical parent of an element in a UIElementCollection.
Top
  Name Description
Explicit interface implementation Method System.Collections.IList.Add This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.
Explicit interface implementation Method System.Collections.IList.Contains This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.
Explicit interface implementation Method System.Collections.IList.IndexOf This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.
Explicit interface implementation Method System.Collections.IList.Insert This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.
Explicit interface implementation Method System.Collections.IList.Remove This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.
Explicit interface implementation Property System.Collections.IList.IsFixedSize This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.
Explicit interface implementation Property System.Collections.IList.IsReadOnly This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.
Explicit interface implementation Property System.Collections.IList.Item This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.