property SwimLane.AllowContextMenu as AllowKeysEnum
Specifies the combination of keys that allows the user to open the object's context menu.

TypeDescription
AllowKeysEnum A AllowKeysEnum expression that specifies the combination of keys that allows the user to open the object's context menu.
By default, the AllowContextMenu property is exRightClick, which indicates that control's context-menu for the object from the point can be shown once the user right-clicks it. Use the AllowContextMenu property to specify the combination of keys that allows the user to open the object's context menu. The ActionContextMenu event notifies your application once an action occurs within the object's context menu. Use the ContextMenu property to provide a custom context menu for the objects on the surface.  For instance, you can set the AllowContextMenu property on exDisallow, to disable any context-menu to be shown.

By default, you can provide a context-menu for the following type of objects:

The following screen shot shows the pool's default context menu: