| Initializes a new instance of the MenuItemCollection class. |
| Returns the number of elements in the MenuItemCollection. | |
| Gets a value indicating whether access to the MenuItemCollection is synchronized (thread-safe). | |
| Overloaded. Gets the MenuItem at a specified ordinal index. | |
| Gets an object that can be used to synchrnoize access to the MenuItemCollection. |
| Adds a MenuItem to the collection. If the ViewState is being tracked, the MenuItem's TrackViewState() method is called and the item is set to dirty, so that we don't lose any settings made prior to the Add() call. | |
| Adds a header to the collection. | |
| Adds the MenuItems in a MenuItemCollection. | |
| Overloaded. Adds a spacer to the collection. | |
| Clears out the entire MenuItemCollection. | |
| Determines if a particular MenuItem exists within the collection. | |
| Copies the contents of the MenuItem to an array. | |
| Determines whether the specified Object is equal to the current Object. | |
| Gets an Enumerator for enumerating through the collection. | |
| Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. | |
| Gets the Type of the current instance. | |
| Returns the ordinal index of a MenuItem, if it exists; if the item does not exist, -1 is returned. | |
| Inserts a MenuItem instance at a particular location in the collection. | |
| Removes a specified MenuItem from the collection. | |
| Removes a MenuItem from a particular ordinal position in the collection. | |
| Returns a String that represents the current Object. |
| Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. | |
| Creates a shallow copy of the current Object. |
| Iterate through the object array passed in. For each element in the object array passed-in, a new MenuItem instance is created, added to the collection, and populated by calling LoadViewState(). | |
| Saves the view state in an object array. Each item in the collection has its SaveViewState() method called. This array is then returned, representing the state of the MenuItemCollection. | |
| Indicates that changes to the view state should be tracked. Calls TrackViewState() for each MenuItem in the collection. |
MenuItemCollection Class | skmMenu Namespace