Provides a collection of Action objects that will be applied on an Element object. This class cannot be inherited.
The following tables list the members exposed by the ActionCollection type.
Public Methods
| Name | Description | |
|---|---|---|
| Add |
Appends the specified Action to the end of the collection.
| |
| Clear |
Removes all Action objects from the collection.
| |
| Contains |
Determines whether the collection contains the specified Action.
| |
| CopyTo |
Copies the items from the ActionCollection to the specified Array, starting with the specified index.
| |
| Equals | (Inherited from Object.) | |
| GetEnumerator | ||
| GetHashCode | Serves as a hash function for a particular type. GetHashCode() is 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.) | |
| IndexOf |
Determines the index value that represents the position of the specified Action in the collection.
| |
| Insert |
Inserts the specified Action in the collection at the specified index location.
| |
| Remove |
Removes the specified Action from the collection.
| |
| RemoveAt |
Removes the Action at the specified index from the collection.
| |
| ToString | (Inherited from Object.) |
Protected Methods
| Name | Description | |
|---|---|---|
| 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.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Public Constructors
| Name | Description | |
|---|---|---|
| ActionCollectionNew |
Initializes a new instance of the ActionCollection class.
|
Public Properties
| Name | Description | |
|---|---|---|
| Count |
Gets the number of Action objects in the collection.
| |
| IsSynchronized |
Gets a value indicating whether access to the ActionCollection is synchronized (thread-safe).
| |
| Item |
Gets an Action at the specified index in the collection.
| |
| SyncRoot |
Gets the object that can be used to synchronize access to the ActionCollection.
|