The
ExMenu component is a complete new type of control that displays and handles
more than a menu for your application. The ExMenu simulates menu bar, popup
menu, options button, toolbar, pick list, and more. Use the
VisualAppearance
property to add new skins to the control. The ExMenu supports the
following properties and methods:
| | Name | Description | |
| | AddAcelerator | Associates an accelerator key to the menu item. | |
| | AllowChevron | Retrieves or sets a value that indicates whether the control programmatically displays the chevron or the scroll. | |
| | Appearance | Retrieves or sets a value that indicates the menu's appearance. | |
| | AttachTemplate | Attaches a script to the current object, including the events, from a string, file, a safe array of bytes. | |
| | BackColor | Retrieves or sets the menu's background color. | |
| | Background | Returns or sets a value that indicates the background color for parts in the control. | |
| | Border | Retrieves or sets a value that indicates the menu's border. | |
| | ChevronImage | Retrieves or sets a value that indicates the index of icon being displayed as a chevron. | |
| | ClearAccelerators | Clears the accelerator keys collection. | |
| | Cursor | Gets or sets the cursor that is displayed when the mouse pointer hovers the control. | |
| | Debug | Retrieves or sets a value that indicating whether the item's identifier is visible. | |
| | Enabled | Retrieves or sets a value that indicates whether the control is enabled or disabled. | |
| | EventParam | Retrieves or sets a value that indicates the current's event parameter. | |
| | ExecuteTemplate | Executes a template and returns the result. | |
| | Focusable | Gets or sets a value that indicates whether the control can receive focus. | |
| | Font | Retrieves or sets the menu's font. | |
| | ForeColor | Retrieves or sets the menu's foreground color. | |
| | HighLightBorderColor | Retrieves or sets a color that indicates the highlight border 's color. | |
| | HTMLPicture | Adds or replaces a picture in HTML captions. | |
| | hWnd | Retrieves the menu's window handle. | |
| | Images | Sets the control's image list at runtime. The Handle should be a handle to an Image List control. | |
| | ImageSize | Retrieves or sets the size of icons the control displays.. | |
| | item | Finds the item given its identifier or its name. | |
| | ItemHeight | Retrieves or sets the item's height. | |
| | Items | Retrieves a Menu object that handles adding, removing or changing items at runtime. | |
| | Load | Loads the menu saved using Save method. | |
| | MenuBarBorder | Specifies the menu bar's border. | |
| | OpenMode | Specifies the way how the menu is opened. | |
| | OpenOnClick | Sets or gets a value that indicates the way how the user opens the menus, using the mouse. | |
| | Picture | Retrieves or sets the background's picture. | |
| | PictureDisplay | Retrieves or sets a value that indicates the way how the picture is displayed. | |
| | PopupBackColor | Retrieves or sets a color that indicates the popup menu's background color. | |
| | PopupForeColor | Retrieves or sets a color that indicates the popup menu's text color. | |
| | Refresh | Refreshes the control. | |
| | RemoveAccelerator | Removes the menu item's accelerator key. | |
| | ReplaceIcon | Adds a new icon, replaces an icon or clears the control's image list. | |
| | Save | Saves the menu to the destination. | |
| | ScrollImage | Retrieves or sets a value that indicates the index of icon being displayed when the left or right scrolling item is visible on the menu bar. | |
| | ScrollOnDrop | Specifies the effect to show the popup menu when clicking an item, such as scrolling, lighting up, and so on. | |
| | ScrollOnWheel | Indicates whether the menu gets scrolled once the user rotates the mouse wheel. | |
| | SelBackColor | Retrieves or sets a color that indicates the selection's background color. | |
| | SelectOn | Specifies whether the control selects an item when user presses or releases the mouse button. | |
| | SelForeColor | Retrieves or sets a color that indicates the selection's text color. | |
| | SepAcc | Specifies a string expression that splits the caption and accelerator key in the item. | |
| | ShadowColor | Specifies the shadow color. | |
| | ShowPopup | Shows a popup menu. | |
| | Template | Specifies the control's template. | |
| | TemplateDef | Defines inside variables for the next Template/ExecuteTemplate call. | |
| | TemplateResult | Gets the result of the last Template call. | |
| | TemplateResultN | Gets the result of the last Template call, as double. | |
| | TemplateResultS | Gets the result of the last Template call, as string. | |
| | ToolTipDelay | Specifies the time in ms that passes before the ToolTip appears. | |
| | ToolTipFont | Retrieves or sets the tooltip's font. | |
| | ToolTipPopDelay | Specifies the period in ms of time the ToolTip remains visible if the mouse pointer is stationary within a control. | |
| | ToolTipWidth | Specifies a value that indicates the width of the tooltip window, in pixels. | |
| | Version | Retrieves the control's version. | |
| | Visibility | Specify the popup's visibility in percents: 90% is barely visible, and 10% is nearly opaque. | |
| | VisualAppearance | Retrieves the control's appearance. | |