This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Menu Members
Public:
Properties
Handle |
The HMENU handle corresponding to this menu. |
IsParent |
Specifies whether this menu contains any items. |
MDIListItem |
The MenuItem that contains the list of MDI child windows. |
MenuItems |
[To be supplied.] |
Site (inherited from MarshalByRefComponent) |
Gets or sets the site of the component. |
Methods
Dispose |
Disposes of the component. Call dispose when the component is no longer needed. This method removes the component from its container (if the component has a site) and triggers the dispose event. |
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). |
GetContainer (inherited from MarshalByRefComponent) |
Returns the component's container. |
GetDesignMode (inherited from MarshalByRefComponent) |
Determines whether the component is currently in design mode. |
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 |
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 |
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 MarshalByRefComponent) |
Basic Implementation of toString() for all controls. |
Protected:
Methods
CloneMenu |
Sets this menu to be an identical copy of another menu. |
Finalize (inherited from MarshalByRefComponent) |
[To be supplied.] |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
Menu Class | System.WinForms Namespace