DiagramOptionsBehavior Properties
Contains options that control the DiagramControl’s behavior.| Name | Description |
|---|---|
| ActiveTool | Specifies the currently selected diagram tool. |
| AllowDiagramProperties | Obsolete. Specifies whether to display the ‘Properties’ menu item in the context menu. |
| AllowEmptySelection | Specifies whether a user can select the root item. |
| AllowMiddleButtonDrag | Specifies whether to enable diagram panning on the middle mouse button. |
| AllowOptimizedScrolling | Gets or sets whether to enable the optimized scroll mechanism. |
| AllowPropertiesPanel | Specifies whether to display the ‘Properties’ menu item in the context menu. |
| BringIntoViewMargin | Obsolete. Gets or sets the margin between diagram items and viewport bounds when calling the DiagramControl.BringItemsIntoView and DiagramControl.BringSelectionIntoView methods. |
| ConnectorsSeparationMode | Specifies whether to automatically split the overlapping right-angle connectors. |
| ConnectorTool | Specifies the tool that is used when the end-user selects the Connector tool in the Ribbon. |
| EllipseTool | Specifies the tool that is used when the end-user selects the Ellipse tool in the Ribbon. |
| EnableProportionalResizing | Gets or sets whether to maintain the aspect ratio when resizing diagram items. |
| FileDialogFilter | Gets or sets the filter string that determines which files are displayed in the ‘Open File’ and ‘Save File As’ dialog boxes. |
| GlueToConnectionPointDistance | Specifies the distance between the mouse pointer and a connection point at which the connector is glued to the point. |
| GlueToItemDistance | Specifies the distance between the mouse pointer and a diagram item at which the connector is glued to the item. |
| HexagonTool | Specifies the tool that is used when the end-user selects the Hexagon tool in the Ribbon. |
| MinDragDistance | Specifies the number of pixels the cursor must move with the mouse down before dragging begins. |
| PanTool | Specifies the tool that is used when the end-user selects the Pan tool in the Ribbon. |
| PointerTool | Specifies the tool that is used when the end-user selects the Pointer tool in the Ribbon. |
| PointerToolDragMode | Gets or sets whether dragging the pointer tool pans across the canvas or draws the selection rectangle. |
| PropertiesPanelVisibility | Obsolete. Gets or sets the Properties Panel display mode. |
| RectangleTool | Specifies the tool that is used when the end-user selects the Rectangle tool in the Ribbon. |
| ResizingMode | Gets or sets how diagram items are resized. |
| RightTriangleTool | Specifies the tool that is used when the end-user selects the Right Triangle tool in the Ribbon. |
| ScrollMode | Specifies the current scroll mode. |
| SelectedStencils | Specifies the selected shape groups. |
| SelectionMode | Specifies the selection mode for diagram items. |
| SelectPartiallyCoveredItems | Specifies whether to select items that are only partially covered with the selection rectangle. |
| ShowQuickShapes | Gets or sets whether to show the Quick Shapes category in the Shapes Panel. |
| ShowSelectionRectangle | Gets or sets whether to show the selection rectangle. Obsolete: use the PointerToolDragMode property instead. |
| SkinGallery | Obsolete. Gets or sets whether the visibility and enabled state of the skin gallery in the Ribbon menu. |
| SnapToGrid | Gets or sets whether a diagram item can snap to grid lines during item movement and resizing operations in the Diagram Designer. |
| SnapToItems | Gets or sets whether a diagram item can snap to alignment guides (snap lines) of other items during item movement and resizing operations in the Diagram Designer. |
| SnapToItemsDistance | Gets or sets the minimum distance between alignment guides of a shape being dragged and another shape’s alignment guides at which the “snap-to-items” feature is activated. If the dragged shape is dropped at this position, it will be aligned with the second shape. |
| Stencils | Provides access to the collection of available stencils. |
| TextTool | Specifies the tool that is used when the user selects the Text tool in the Ribbon. |
| ToolboxVisibility | Obsolete. Gets or sets the Shapes toolbox display mode. |
| UseTabNavigation | Gets or sets whether navigation through diagram items using the TAB key is enabled. |
See Also