Back to Devexpress

DiagramOptionsProtection Members

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

latest14.6 KB
Original Source

DiagramOptionsProtection Members

Contains settings that allow you to restrict specific end-user actions.

Constructors

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

Properties

NameDescription
AllowAddRemoveItemsGets or sets whether to allow the end-user to add and remove diagram items from the canvas.
AllowApplyAutomaticLayoutGets or sets whether to allow the end-user to apply the Automatic Layout.
AllowApplyAutomaticLayoutForSubordinatesGets or sets whether to allow the end-user to apply the Automatic Layout.
AllowAttachDetachConnectorsGets or sets whether to allow the end-user to change the connector’s starting and ending items.
AllowChangeCanvasSizeModeGets or sets whether to allow the end-user to change the canvas size mode in the Ribbon.
AllowChangeConnectorsArrowSettings
AllowChangeConnectorsRouteGets or sets whether to allow the end-user to manually reroute connectors.
AllowChangeConnectorsTypeGets or sets whether to allow end-users to change the connector type in the Ribbon.
AllowChangeContainerHeaderPaddingGets or sets whether to allow the end-user to change the header’s padding within the container’s boundaries in the Ribbon.
AllowChangeContainerHeaderVisibilityGets or sets whether to allow the end-user to change the container header’s visibility.
AllowChangeContainerPaddingGets or sets whether to allow the end-user to change the container’s padding in the Ribbon.
AllowChangeContainerStyleGets or sets whether to allow the end-user to change the container style in the Ribbon.
AllowChangeGridVisibilityGets or sets whether to allow the end-user to change the visibility of grid lines on the Canvas in the Ribbon.
AllowChangeImageGets or sets whether to allow the end-user to change the source image of an image item.
AllowChangeImageStretchModeGets or sets whether to allow the end-user to change the stretch mode for an image item in the Ribbon.
AllowChangeItemBackgroundGets or sets whether to allow the end-user to change the diagram item’s background color in the Ribbon.
AllowChangeItemStrokeGets or sets whether to allow the end-user to change the diagram item’s stroke color in the Ribbon.
AllowChangeItemStyleGets or sets whether to allow the end-user to change the diagram item’s style in the Ribbon.
AllowChangeItemZOrderGets or sets whether to allow the end-user to change the item’s Z-order in the Ribbon.
AllowChangeLineJumpSettingsGets or sets whether to allow the end-user to change the line jump settings in the Page Setup Dialog Window.
AllowChangePageBreaksVisibilityGets or sets whether to allow the end-user to change the visibility of page breaks in the Ribbon.
AllowChangePageParametersGets or sets whether to allow the end-user to change the page parameters in the Page Setup Dialog Window.
AllowChangeRulerVisibilityGets or sets whether to allow the end-user to change the visibility of grid rulers in the Ribbon.
AllowChangeShapesParameterGets or sets whether to allow the end-user to transform shapes by dragging the transformation handles.
AllowChangeTextFontGets or sets whether to allow the end-user to change the text font settings in the Ribbon.
AllowChangeTextForegroundGets or sets whether to allow the end-user to change the text foreground in the Ribbon.
AllowChangeTextHorizontalAlignmentGets or sets whether to allow the end-user to change the text horizontal alignment in the Ribbon.
AllowChangeTextVerticalAlignmentGets or sets whether to allow the end-user to change the text vertical alignment in the Ribbon.
AllowChangeThemeGets or sets whether to allow end-users to select the diagram theme in the Ribbon.
AllowCollapseContainersSpecifies whether to display the expand/collapse button for all containers.
AllowCopyItemsGets or sets whether to allow end-users to copy diagram items.
AllowEditItemsGets or sets whether to allow the end-user to enter the text editing mode.
AllowFlipImageGets or sets whether to allow the end-user to apply the flip effect to an image item in the Ribbon.
AllowMoveItemsGets or sets whether to allow the end-user to move diagram items by dragging with the mouse or pressing the arrow keys.
AllowResizeItemsGets or sets whether to allow the end-user to resize items by dragging selection handles.
AllowRotateItemsGets or sets whether to allow the end-user to rotate items by dragging the rotation handle.
AllowUndoRedoGets or sets whether to allow the end-user to perform the undo/redo operations.
AllowZoomGets or sets whether to allow the end-user to change the diagram zoom factor.
IsReadOnlySpecifies whether to set all DiagramOptionsProtection properties to false by default.

Methods

NameDescription
Assign(BaseOptions)Copies all available property settings from the target DiagramOptionsProtection to this DiagramOptionsProtection.
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

DiagramOptionsProtection Class

DevExpress.XtraDiagram.Options Namespace