ExContextMenu object
Tip The /COM object can be placed on a HTML page (with usage of the HTML object tag:  <object classid="clsid:...">)  using the class identifier: {2DFBF6CB-9198-4576-AB91-EE6445C1F3E0}. The object's program identifier is: "Exontrol.ContextMenu.1". The /COM object module is: "ExContextMenu.dll"

The eXContextMenu component provides a customizable context menu (also known as a shortcut, popup, or right-click menu) for graphical user interfaces. Unlike system-provided context menus, eXContextMenu is built entirely from scratch and does not rely on the system's popup menu functionality. One key advantage is its modal behavior: instead of requiring event handlers for each menu item, the component can wait until the user completes their selection and then returns the selected values. Unlike standard context menus, such as .NET's System.Windows.Controls.ContextMenu, which close immediately when an item is clicked, eXContextMenu allows users to interact with multiple items, such as toggling several checkboxes. The menu closes only when the user clicks outside of it, ensuring a more flexible and interactive experience.

Features include:

1. Skinnable and Visual Customization

2. Interactivity and Input Fields

3. Behavior and User Interaction

4. Accessibility and Navigation

5. Data Binding and Serialization

 

The eXContextMenu supports the following properties and methods:

NameDescription
AllowToggleRadioAllows or prevents toggling the radio state.
AllowToolTipAllows or prevents showing the item's tooltip.
AppearanceRetrieves or sets the control's appearance.
AttachTemplateAttaches a script to the current object, including the events, from a string, file, a safe array of bytes.
BackColorSpecifies the control's background color.
BackgroundReturns or sets a value that indicates the background color for parts in the control.
CloseOnClickGets or sets a value that specifies whether the context menu is closing.
CursorGets or sets the cursor that is displayed when the mouse pointer hovers the control.
DebugRetrieves or sets a value that indicating whether the item's identifier is visible.
EventParamRetrieves or sets a value that indicates the current's event parameter.
ExecuteTemplateExecutes a template and returns the result.
FlatBackColorSpecifies the color to left part of the menu.
FlatImageWidthSpecifies the width of the column to display the icons/images when the control's MenuAppearance is exMenuFlat.
FontRetrieves or sets the control's font.
ForeColorSpecifies the control's foreground color.
GetRetrieves an array of Item objects that meet the criteria.
GetCheckedRetrieves an array of Item objects, that displays a check box which is checked.
GetRadioRetrieves an array of Item objects of radio type in the same group, that are checked.
GetUncheckedRetrieves an array of Item objects, that displays a check box which is unchecked.
HTMLPictureAdds or replaces a picture in HTML captions.
ImagesSets at runtime the control's image list. The Handle should be a handle to an Images List Control.
ImageSizeRetrieves or sets the size of icons the control displays.
IncrementalSearchSpecifies how the control searches for the objects while user types characters.
itemReturns a specific Item object giving its identifier or caption.
ItemsRetrieves the control's Items collection.
LocalAppearanceRetrieves or sets the local popup's appearance.
MenuAppearanceRetrieves or sets a value that indicates the menu's appearance.
NotifierRetrieves or sets the handle of the window that receives notifications/WM_COMMAND messages.
PictureRetrieves or sets a graphic to be displayed in the control.
PictureDisplayRetrieves or sets a value that indicates the way how the graphic is displayed on the control's background
RefreshRefreses the control.
ReplaceIconAdds a new icon, replaces an icon or clears the control's image list.
SelBackColorRetrieves or sets a value that indicates the selection background color.
SelectDisplays the shortcut menu at the specified location and tracks the selection of items on the menu.
SelForeColorRetrieves or sets a value that indicates the selection foreground color.
ShowCheckedAsSelectedSpecifies whether the checked items shows as selected.
ShowCheckedAsSelectedTransparencySpecifies the transparency ( percent ) to show the checked items when selected.
ShowPopupArrowIndicates the type of the arrow to be shown when the item displays the sub-menu.
ShowPopupEffectSpecifies the effect to show the popup menu when clicking an item, such as scrolling, lighting up, and so on.
TemplateSpecifies the control's template.
TemplateDefDefines inside variables for the next Template/ExecuteTemplate call.
TemplatePutDefines inside variables for the next Template/ExecuteTemplate call.
ToolTipDelaySpecifies the time in ms that passes before the ToolTip appears.
ToolTipFontRetrieves or sets the tooltip's font.
ToolTipPopDelaySpecifies the period in ms of time the ToolTip remains visible if the mouse pointer is stationary within a control.
ToolTipWidthSpecifies a value that indicates the width of the tooltip window, in pixels.
ToStringLoads or saves the Items collection using string representation (shortcut of Items.ToString property).
UseVisualThemeSpecifies whether the control uses the current visual theme to display certain UI parts.
VersionRetrieves the control's version.
VisibilitySpecify the popup's visibility in percents: 90% is barely visible, and 10% is nearly opaque.
VisualAppearanceRetrieves the control's appearance.