VisualCollection Methods
.NET Framework 3.5
The VisualCollection type exposes the following members.
| Name | Description | |
|---|---|---|
|
Add | Appends a Visual to the end of the VisualCollection. |
|
Clear | Removes all elements from the VisualCollection. |
|
Contains | Returns a Boolean value that indicates whether the specified Visual is contained in the collection. |
|
CopyTo | Overloaded. Copies the current collection into the passed array. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetEnumerator | Retrieves an enumerator that can iterate through the VisualCollection. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
IndexOf | Returns the zero-based index of the Visual. |
|
Insert | Inserts an element into the VisualCollection at the specified index. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Remove | Removes the specified Visual object from the VisualCollection. |
|
RemoveAt | Removes the visual object at the specified index in the VisualCollection. |
|
RemoveRange | Removes a range of visual objects from the VisualCollection. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
|
Cast | Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
|
OfType | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
| Name | Description | |
|---|---|---|
|
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. |