MenuItemStyleCollection Members
.NET Framework 3.0
Represents a collection of MenuItemStyle objects in a Menu control. This class cannot be inherited.
The following tables list the members exposed by the MenuItemStyleCollection type.
| Name | Description | |
|---|---|---|
| Count | Gets the number of elements contained in the StateManagedCollection collection.(inherited from StateManagedCollection) |
| Item | Gets the MenuItemStyle object at the specified index from the collection. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Add | Appends the specified MenuItemStyle object to the end of the current collection. |
| Clear | Removes all items from the StateManagedCollection collection. (inherited from StateManagedCollection) |
| Contains | Determines whether the specified MenuItemStyle object is in the collection. |
| CopyTo | Overloaded. Copies all the items from the MenuItemStyleCollection object. |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| GetEnumerator | Returns an iterator that iterates through the StateManagedCollection collection. (inherited from StateManagedCollection) |
| 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 | Determines the index of the specified MenuItemStyle object in the collection. |
| Insert | Inserts the specified MenuItemStyle object into the collection at the specified index location. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| Remove | Removes the specified MenuItemStyle object from the collection. |
| RemoveAt | Removes the MenuItemStyle object at the specified index location from the collection. |
| SetDirty | Forces the entire StateManagedCollection collection to be serialized into view state. (inherited from StateManagedCollection) |
| ToString | Returns a String that represents the current Object. (inherited from Object) |
| 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) |
Community Additions
ADD
Show: