VisualCollection Class
Represents a collection of Visual elements. This class cannot be inherited.
Definition
Members Table
The following table lists the members exposed by the VisualCollection object. Click a tab on the left to choose the type of member you want to view.
Methods
| Method | Description |
|---|
| Clear | Removes all objects from the VisualCollection instance. |
| Contains | Determines whether the VisualCollection contains a specified VisualElement. |
| CopyTo | Copies the elements of the VisualCollection to an Array starting at a particular index. |
| Equals | Overloaded. Compares two objects to determine if they are equal. (Inherited from Object) |
| GetChildIndex | Returns the index of the specified child in the VisualCollection. |
| GetEnumerator | Returns an IEnumerator that can iterate through a VisualCollection. |
| GetHashCode | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object) |
| SetChildIndex | Replaces the index of the specified child in the VisualCollection. |
| ToString | Returns a String that represents the current Object. (Inherited from Object) |
| VisualCollection | Initializes a new instance of VisualCollection. |
| this[] | Gets or sets the element at the specified index. |
Properties
Inheritance Hierarchy
ObjectVisualCollection
Class Information
| Namespace | System.Drawing |
|---|
| Flash Library | System.Windows.Forms.scl |
|---|
| Flash Library Version | 2.0.0.2118 |
|---|
| Silverlight Library | System.Windows.Forms.dll |
|---|