property Expression.AllowContextMenu as Boolean
Specifies whether the control's default context menu is available.

TypeDescription
Boolean A boolean expression that indicates whether the control displays a popup menu when user right clicks the control.

The control's context meu is called if user right clicks the control's client area. By default, the AllowContextMenu property is True. Use the AllowContextMenu property to disable the default context menu. Use the ContextMenuItems property to add new entries to the control's context menu. Use the Caption property to change the captions in the control's default context menu.

The control's context menu contains by default the following items:

An item is disabled if the respective operation is not available in the context.