Back to Devexpress

DiagramOptionsView Members

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

latest8.8 KB
Original Source

DiagramOptionsView Members

Contains the DiagramControl’s view settings.

Constructors

NameDescription
DiagramOptionsView(DiagramControl)Initializes a new instance of the DiagramOptionsView class.

Properties

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.

Methods

NameDescription
Assign(BaseOptions)Copies settings of the specified object to the current object.
BeginUpdate()Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions.
CancelUpdate()Unlocks the BaseOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseOptions.
EndUpdate()Unlocks the BaseOptions object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseOptions.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
Reset()Resets all options to their default values. Inherited from BaseOptions.
ToString()Returns a string representing the currently enabled options. Inherited from BaseOptions.

See Also

DiagramOptionsView Class

DevExpress.XtraDiagram.Options Namespace