SubMenuStyleCollection Members
.NET Framework 2.0
Represents a collection of SubMenuStyle objects in a Menu control.
The following tables list the members exposed by the SubMenuStyleCollection type.
| Name | Description | |
|---|---|---|
| Count | Gets the number of elements contained in the StateManagedCollection collection.(Inherited from StateManagedCollection.) |
| Item | Gets a reference to the SubMenuStyle object at the specified index in the SubMenuStyleCollection collection object. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Add | Adds a submenu style to the SubMenuStyleCollection collection. |
| Clear | Removes all items from the StateManagedCollection collection. (Inherited from StateManagedCollection.) |
| Contains | Determines whether a SubMenuStyleCollection collection contains a specific SubMenuStyle instance. |
| CopyTo | Overloaded. Copies the contents of a SubMenuStyleCollection collection to an array. |
| 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. 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 location of a specified SubMenuStyle object in the SubMenuStyleCollection collection. |
| Insert | Inserts a SubMenuStyle object into the SubMenuStyleCollection collection at the specified index. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| Remove | Removes the first occurrence of the specified SubMenuStyle object from the SubMenuStyleCollection collection. |
| RemoveAt | Removes the SubMenuStyle object at the specified location. |
| 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 | |
|---|---|---|
| CreateKnownType | Overridden. Creates an System.Object of the data type that corresponds to the specified index. |
| 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.) |
| GetKnownTypes | Overridden. Creates an array of System.Type objects that contains the supported data types of the SubMenuStyleCollection class. |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
| OnClear | When overridden in a derived class, performs additional work before the Clear method removes all items from the collection. (Inherited from StateManagedCollection.) |
| OnClearComplete | When overridden in a derived class, performs additional work after the Clear method finishes removing all items from the collection. (Inherited from StateManagedCollection.) |
| OnInsert | Overridden. Called before the Add and Insert methods. |
| OnInsertComplete | When overridden in a derived class, performs additional work after the System.Collections.IList.Insert or System.Collections.IList.Add method adds an item to the collection. (Inherited from StateManagedCollection.) |
| OnRemove | When overridden in a derived class, performs additional work before the System.Collections.IList.Remove or System.Collections.IList.RemoveAt method removes the specified item from the collection. (Inherited from StateManagedCollection.) |
| OnRemoveComplete | When overridden in a derived class, performs additional work after the System.Collections.IList.Remove or System.Collections.IList.RemoveAt method removes the specified item from the collection. (Inherited from StateManagedCollection.) |
| OnValidate | When overridden in a derived class, validates an element of the StateManagedCollection collection. (Inherited from StateManagedCollection.) |
| SetDirtyObject | Overridden. Instructs a SubMenuStyle object contained by the SubMenuStyleCollection collection to record its entire state to view state. |
Community Additions
ADD
Show: