Back to Devexpress

DiagramOptionsView Properties

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

latest5.2 KB
Original Source

DiagramOptionsView Properties

Contains the DiagramControl’s view settings.

NameDescription
AllowShapeShadowsGets or sets whether to show shadows for diagram items.
BringIntoViewMarginGets or sets the margin between diagram items and viewport bounds when calling the DiagramControl.BringItemsIntoView and DiagramControl.BringSelectionIntoView methods.
CanvasSizeModeGets or sets whether the canvas size is automatically expanded/shrunk to fit the current shapes layout.
FitToDrawingMarginGets or sets the margin between diagram contents and page bounds when calling the DiagramControl.FitToDrawing and DiagramControl.FitToItems methods.
GridSizeGets or sets the size of a grid’s cell.
LandscapeSpecifies whether to use the longer dimension of the page size as the page width.
MaxZoomFactorSpecifies the maximum diagram zoom factor.
MeasureUnitSpecifies the unit of measurement to use in UI.
MinZoomFactorSpecifies the minimum diagram zoom factor.
PageMarginGets or sets the amount of space between the page’s borders and its contents.
PageSizeGets or sets the initial diagram canvas size. This property also specifies to what extent the canvas is expanded/shrunk in auto-size mode (see DiagramOptionsView.CanvasSizeMode).
PaperKindAllows you to use one of the standard paper sizes as the page size.
PropertiesPanelVisibilityGets or sets the Properties Panel display mode.
ScrollMarginGets or sets the minimum diagram margin.
ShowGridGets or sets whether to draw the grid, which helps you position shapes on the diagram canvas.
ShowMeasureUnitSpecifies whether to display the unit of measurement next to values in the Properties Panel and Bottom Panel.
ShowPageBreaksGets or sets whether to display page breaks.
ShowPanAndZoomPanelSpecifies whether to show the Pan and Zoom Panel.
ShowRulersGets or sets whether the diagram rulers are visible.
ThemeSpecifies the current theme.
ToolboxVisibilityGets or sets the Shapes Panel display mode.
ZoomFactorSpecifies the diagram zoom factor.

See Also

DiagramOptionsView Class

DiagramOptionsView Members

DevExpress.XtraDiagram.Options Namespace