Back to Devexpress

DiagramOptionsBehavior Properties

windowsforms-devexpress-dot-xtradiagram-dot-options-dot-diagramoptionsbehavior-dot-underscore-properties.md

latest9.1 KB
Original Source

DiagramOptionsBehavior Properties

Contains options that control the DiagramControl’s behavior.

NameDescription
ActiveToolSpecifies the currently selected diagram tool.
AllowDiagramPropertiesObsolete. Specifies whether to display the ‘Properties’ menu item in the context menu.
AllowEmptySelectionSpecifies whether a user can select the root item.
AllowMiddleButtonDragSpecifies whether to enable diagram panning on the middle mouse button.
AllowOptimizedScrollingGets or sets whether to enable the optimized scroll mechanism.
AllowPropertiesPanelSpecifies whether to display the ‘Properties’ menu item in the context menu.
BringIntoViewMarginObsolete. Gets or sets the margin between diagram items and viewport bounds when calling the DiagramControl.BringItemsIntoView and DiagramControl.BringSelectionIntoView methods.
ConnectorsSeparationModeSpecifies whether to automatically split the overlapping right-angle connectors.
ConnectorToolSpecifies the tool that is used when the end-user selects the Connector tool in the Ribbon.
EllipseToolSpecifies the tool that is used when the end-user selects the Ellipse tool in the Ribbon.
EnableProportionalResizingGets or sets whether to maintain the aspect ratio when resizing diagram items.
FileDialogFilterGets or sets the filter string that determines which files are displayed in the ‘Open File’ and ‘Save File As’ dialog boxes.
GlueToConnectionPointDistanceSpecifies the distance between the mouse pointer and a connection point at which the connector is glued to the point.
GlueToItemDistanceSpecifies the distance between the mouse pointer and a diagram item at which the connector is glued to the item.
HexagonToolSpecifies the tool that is used when the end-user selects the Hexagon tool in the Ribbon.
MinDragDistanceSpecifies the number of pixels the cursor must move with the mouse down before dragging begins.
PanToolSpecifies the tool that is used when the end-user selects the Pan tool in the Ribbon.
PointerToolSpecifies the tool that is used when the end-user selects the Pointer tool in the Ribbon.
PointerToolDragModeGets or sets whether dragging the pointer tool pans across the canvas or draws the selection rectangle.
PropertiesPanelVisibilityObsolete. Gets or sets the Properties Panel display mode.
RectangleToolSpecifies the tool that is used when the end-user selects the Rectangle tool in the Ribbon.
ResizingModeGets or sets how diagram items are resized.
RightTriangleToolSpecifies the tool that is used when the end-user selects the Right Triangle tool in the Ribbon.
ScrollModeSpecifies the current scroll mode.
SelectedStencilsSpecifies the selected shape groups.
SelectionModeSpecifies the selection mode for diagram items.
SelectPartiallyCoveredItemsSpecifies whether to select items that are only partially covered with the selection rectangle.
ShowQuickShapesGets or sets whether to show the Quick Shapes category in the Shapes Panel.
ShowSelectionRectangleGets or sets whether to show the selection rectangle. Obsolete: use the PointerToolDragMode property instead.
SkinGalleryObsolete. Gets or sets whether the visibility and enabled state of the skin gallery in the Ribbon menu.
SnapToGridGets or sets whether a diagram item can snap to grid lines during item movement and resizing operations in the Diagram Designer.
SnapToItemsGets 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.
SnapToItemsDistanceGets 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.
StencilsProvides access to the collection of available stencils.
TextToolSpecifies the tool that is used when the user selects the Text tool in the Ribbon.
ToolboxVisibilityObsolete. Gets or sets the Shapes toolbox display mode.
UseTabNavigationGets or sets whether navigation through diagram items using the TAB key is enabled.

See Also

DiagramOptionsBehavior Class

DiagramOptionsBehavior Members

DevExpress.XtraDiagram.Options Namespace