This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
MainMenu Members
Public:
Constructor
Properties
Handle (inherited from Menu) |
The HMENU handle corresponding to this menu. |
IsParent (inherited from Menu) |
Specifies whether this menu contains any items. |
MDIListItem (inherited from Menu) |
The MenuItem that contains the list of MDI child windows. |
MenuItems (inherited from Menu) |
[To be supplied.] |
Site (inherited from MarshalByRefComponent) |
Gets or sets the site of the component. |
Methods
CloneMenu |
Overloaded. [To be supplied.] |
Dispose |
Clears out this MainMenu object and discards all of it's resources. If the menu is parented in a form, it is disconnected from that as well. |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
FindMenuItem (inherited from Menu) |
[To be supplied.] |
GetContainer (inherited from MarshalByRefComponent) |
Returns the component's container. |
GetDesignMode (inherited from MarshalByRefComponent) |
Determines whether the component is currently in design mode. |
GetForm |
Indicates which form in which we are currently residing [if any] |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetLifetimeService (inherited from MarshalByRefObject) |
This method is used return a lifetime service object that is used to control the lifetime policy to the object. For the default Lifetime service this will be an object of type ILease. |
GetMainMenu (inherited from Menu) |
Returns the MainMenu item that contains this menu. The MainMenu is at the top of this menu's parent chain. Returns null if this menu is not contained in a MainMenu. This can occur if it's contained in a ContextMenu or if it isn't currently contained in any menu at all. |
GetServiceObject (inherited from MarshalByRefComponent) |
The implementation of IServiceObjectProvider |
GetType (inherited from Object) |
Gets the Type of the Object. |
InitializeLifetimeService (inherited from MarshalByRefObject) |
|
MergeMenu (inherited from Menu) |
Merges another menu's items with this one's. Menu items are merged according to their mergeType and mergeOrder properties. This function is typically used to merge an MDI container's menu with that of its active MDI child. |
ToString (inherited from Menu) |
Returns a string representation for this control. |
Protected:
Methods
CloneMenu (inherited from Menu) |
Sets this menu to be an identical copy of another menu. |
CreateMenuHandle (inherited from Menu) |
[To be supplied.] |
Finalize (inherited from Menu) |
[To be supplied.] |
FindMergePosition (inherited from Menu) |
[To be supplied.] |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
ProcessCmdKey (inherited from Menu) |
[To be supplied.] |
See Also
MainMenu Class | System.WinForms Namespace