property SwimLane.DesignMode as DesignModeEnum
Specifies the surface's design mode.

TypeDescription
DesignModeEnum A DesignModeEnum expression that determines the control's design-mode.
By default, the DesignMode property is exDesign, which indicates that the user can update any element or pool on the surface. For instance, if the control's DesignMode property is exDesignElements, only elements are visible for create, move, resize or edit, and so even if the user is right-clicking a pool, no context-menu for pool will be shown. In other words, the DesignMode property determines what objects on the surface are visible when the user try to create, move, resize or edit them. The DesignModes property specifies the list of design-modes to be shown on 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.