The following tables list the members exposed by IGMenuItem.
Name | Description | |
---|---|---|
IGMenuItem Constructor | Overloaded. |
Name | Description | |
---|---|---|
BarBreak | Gets or sets a value indicating whether the System.Windows.Forms.MenuItem is placed on a new line (for a menu item added to a System.Windows.Forms.MainMenu object) or in a new column (for a submenu item or menu item displayed in a System.Windows.Forms.ContextMenu). (Inherited from System.Windows.Forms.MenuItem) | |
Break | Gets or sets a value indicating whether the item is placed on a new line (for a menu item added to a System.Windows.Forms.MainMenu object) or in a new column (for a menu item or submenu item displayed in a System.Windows.Forms.ContextMenu). (Inherited from System.Windows.Forms.MenuItem) | |
Checked | Gets or sets a value indicating whether a check mark appears next to the text of the menu item. (Inherited from System.Windows.Forms.MenuItem) | |
Container | (Inherited from System.ComponentModel.Component) | |
DefaultItem | Gets or sets a value indicating whether the menu item is the default menu item. (Inherited from System.Windows.Forms.MenuItem) | |
Enabled | Gets or sets a value indicating whether the menu item is enabled. (Inherited from System.Windows.Forms.MenuItem) | |
Handle | Gets a value representing the window handle for the menu. (Inherited from System.Windows.Forms.Menu) | |
Image | Returns or sets the image displayed in the menu item. | |
Index | Gets or sets a value indicating the position of the menu item in its parent menu. (Inherited from System.Windows.Forms.MenuItem) | |
IsParent | Gets a value indicating whether the menu item contains child menu items. (Inherited from System.Windows.Forms.MenuItem) | |
MdiList | Gets or sets a value indicating whether the menu item will be populated with a list of the Multiple Document Interface (MDI) child windows that are displayed within the associated form. (Inherited from System.Windows.Forms.MenuItem) | |
MdiListItem | Gets a value indicating the System.Windows.Forms.MenuItem that is used to display a list of multiple document interface (MDI) child forms. (Inherited from System.Windows.Forms.Menu) | |
MenuItems | Gets a value indicating the collection of System.Windows.Forms.MenuItem objects associated with the menu. (Inherited from System.Windows.Forms.Menu) | |
MergeOrder | Gets or sets a value indicating the relative position of the menu item when it is merged with another. (Inherited from System.Windows.Forms.MenuItem) | |
MergeType | Gets or sets a value indicating the behavior of this menu item when its menu is merged with another. (Inherited from System.Windows.Forms.MenuItem) | |
Mnemonic | Gets a value indicating the mnemonic character that is associated with this menu item. (Inherited from System.Windows.Forms.MenuItem) | |
Name | Gets or sets the name of the System.Windows.Forms.Menu. (Inherited from System.Windows.Forms.Menu) | |
OwnerDraw | Gets or sets a value indicating whether the code that you provide draws the menu item or Windows draws the menu item. (Inherited from System.Windows.Forms.MenuItem) | |
Parent | Gets a value indicating the menu that contains this menu item. (Inherited from System.Windows.Forms.MenuItem) | |
RadioCheck | Gets or sets a value indicating whether the System.Windows.Forms.MenuItem, if checked, displays a radio-button instead of a check mark. (Inherited from System.Windows.Forms.MenuItem) | |
Shortcut | Gets or sets a value indicating the shortcut key associated with the menu item. (Inherited from System.Windows.Forms.MenuItem) | |
ShowShortcut | Gets or sets a value indicating whether the shortcut key that is associated with the menu item is displayed next to the menu item caption. (Inherited from System.Windows.Forms.MenuItem) | |
Site | (Inherited from System.ComponentModel.Component) | |
Tag | Gets or sets user-defined data associated with the control. (Inherited from System.Windows.Forms.Menu) | |
Text | Gets or sets a value indicating the caption of the menu item. (Inherited from System.Windows.Forms.MenuItem) | |
Visible | Gets or sets a value indicating whether the menu item is visible. (Inherited from System.Windows.Forms.MenuItem) |
Name | Description | |
---|---|---|
ArrowAreaWidth | Returns the width needed for the sub items arrow. | |
CanRaiseEvents | (Inherited from System.ComponentModel.Component) | |
DesignMode | (Inherited from System.ComponentModel.Component) | |
Events | (Inherited from System.ComponentModel.Component) | |
ImageAreaPadding | Returns the amount of padding around the image. | |
IsRightToLeft | Indicates if the menu is oriented from right to left. | |
IsSeparator | Indicates if the menu item is a separator | |
MenuID | Gets a value indicating the Windows identifier for this menu item. (Inherited from System.Windows.Forms.MenuItem) | |
PreTextSpace | Returns the amount of space before the text. | |
RequiresArrowArea | Indicates if the menu item will display an arrow indicating it contains sub items | |
SeparatorSize | Returns the height required for the separator tool | |
ShortcutString | Returns the string to render for the shortcut associated with the menu item | |
ShowShortcutResolved | Returns a value indicating whether a shortcut should be displayed | |
StyleResolved | Returns the style of menu being rendered |
Name | Description | |
---|---|---|
CloneMenu | Overloaded. Overridden. Invoked when a copy of the menu item should be created. | |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject) | |
Dispose | Overloaded. Disposes of the resources (other than memory) used by the System.Windows.Forms.MenuItem. (Inherited from System.Windows.Forms.MenuItem) | |
FindMenuItem | Gets the System.Windows.Forms.MenuItem that contains the value specified. (Inherited from System.Windows.Forms.Menu) | |
GetContextMenu | Gets the System.Windows.Forms.ContextMenu that contains this menu. (Inherited from System.Windows.Forms.Menu) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) | |
GetMainMenu | Gets the System.Windows.Forms.MainMenu that contains this menu. (Inherited from System.Windows.Forms.Menu) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) | |
MergeMenu | Overloaded. Merges this System.Windows.Forms.MenuItem with another System.Windows.Forms.MenuItem and returns the resulting merged System.Windows.Forms.MenuItem. (Inherited from System.Windows.Forms.MenuItem) | |
PerformClick | Generates a System.Windows.Forms.Control.Click event for the System.Windows.Forms.MenuItem, simulating a click by a user. (Inherited from System.Windows.Forms.MenuItem) | |
PerformSelect | Raises the System.Windows.Forms.MenuItem.Select event for this menu item. (Inherited from System.Windows.Forms.MenuItem) | |
ToString | Returns a string that represents the System.Windows.Forms.MenuItem. (Inherited from System.Windows.Forms.MenuItem) |
Name | Description | |
---|---|---|
CreateMenuHandle | Creates a new handle to the System.Windows.Forms.Menu. (Inherited from System.Windows.Forms.Menu) | |
DrawMenuGlyph | Draws the specified menu glyph at the specified coordinates | |
DrawMenuItem | Invoked from the OnDrawItem to render the menu item. | |
DrawText | Used to render the text for the menu item | |
Finalize | (Inherited from System.ComponentModel.Component) | |
FindMergePosition | Returns the position at which a menu item should be inserted into the menu. (Inherited from System.Windows.Forms.Menu) | |
GetImage | Returns the image displayed in the menu. | |
GetImageAreaSize | Return the size of the area that contains the menu image | |
GetImageSize | Returns the size of the images displayed | |
GetItemSize | Invoked from the OnMeasureItem to determine the size of the owner drawn menu item | |
GetService | (Inherited from System.ComponentModel.Component) | |
GetStringFormat | Returns the System.Drawing.StringFormat object used to render the string | |
IsBottomItem | Indicates if the specified index is the end of a group of menu items. | |
MemberwiseClone | Overloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject) | |
OnClick | Raises the System.Windows.Forms.MenuItem.Click event. (Inherited from System.Windows.Forms.MenuItem) | |
OnDrawItem | Overridden. Invoked when the owner drawn menu is to be rendered. | |
OnInitMenuPopup | Raises the System.Windows.Forms.MenuItem.Popup event. (Inherited from System.Windows.Forms.MenuItem) | |
OnMeasureItem | Overridden. Invoked when the size of the menu item should be returned for an owner drawn menu. | |
OnPopup | Raises the System.Windows.Forms.MenuItem.Popup event. (Inherited from System.Windows.Forms.MenuItem) | |
OnSelect | Raises the System.Windows.Forms.MenuItem.Select event. (Inherited from System.Windows.Forms.MenuItem) |
Name | Description | |
---|---|---|
Click | Occurs when the menu item is clicked or selected using a shortcut key or access key defined for the menu item. (Inherited from System.Windows.Forms.MenuItem) | |
Disposed | (Inherited from System.ComponentModel.Component) | |
DrawItem | Occurs when the System.Windows.Forms.MenuItem.OwnerDraw property of a menu item is set to true and a request is made to draw the menu item. (Inherited from System.Windows.Forms.MenuItem) | |
MeasureItem | Occurs when the menu needs to know the size of a menu item before drawing it. (Inherited from System.Windows.Forms.MenuItem) | |
Popup | Occurs before a menu item's list of menu items is displayed. (Inherited from System.Windows.Forms.MenuItem) | |
Select | Occurs when the user places the pointer over a menu item. (Inherited from System.Windows.Forms.MenuItem) |