property SwimLane.DesignModes as String
Specifies the list of design modes to be displayed on the control's toolbar.

TypeDescription
String A String expression that specifies the list of design-modes to be displayed on the Design sub-menu of the control's toolbar. The list is separated by comma character, while the inside elements shoule be of caption#designmode, where the caption is the text to be shown on the drop-down menu, while the designmode is a long expression defined by the DesignModeEnum expression.
By default, the DesignModes property is "Lock#0,Design#3,Design Element#1,Design Pool#2". The DesignModes property specifies the list of design-modes to be shown on the control's toolbar. The DesignMode property specifies the current design-mode. The ToolBarFormat property specifies the CRD format to be shown the control's toolbar. Remove the identifier 102 from the ToolBarFormat property to prevent shown the Design item in the control's toolbar.

The object's context menu is shown only, if the control's DesignMode property is not exDesignLock. Use the ContextMenu property to provide a custom context menu for the objects on the surface. 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.