Type | Description | |||
IFontDisp | A Font object that specifies the font to show the control's context menu. |
The ContextMenuFont property retrieves or sets the context-menu's font. The Background(exContextMenuAppearance) property ( and related ) defines the control's context menu appearance. The ContextMenu property defines the default object's context menu. The ActionContextMenu event notifies your application once an action occurs within the object's context menu. Use the AllowContextMenu property to specify the combination of keys that allows the user to open the object's context menu. The AllowDesignHeader property on exDesignHeaderLock, specifies that no context-menu is allowed when user hovers the lane/header. Use the InvokeContextMenu methods ( like explained bellow ) to show programmatically the default or any custom context-menu for different objects on the surface.
The following screen shot shows the control's context menu with a different appearance:
By default, you can provide a context-menu for the following type of objects: