All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ASPxDiagram.SettingsEditing Property

Provides access to the ASPxDiagram's edit settings.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v20.2.dll

Declaration

public DiagramEditingSettings SettingsEditing { get; }
Public ReadOnly Property SettingsEditing As DiagramEditingSettings

Property Value

Type Description
DiagramEditingSettings

An object that contains edit settings.

Available values:

Show 12 items
Name Description
AllowChangeConnectorPoints

Specifies whether a user can change points of an existing connector. This property does not affect new connectors.

AllowChangeConnection

Specifies whether a user can link a connector to a shape, delink a connector from a shape, and change a connection point.

AllowDeleteConnector

Specifies whether a user can delete a connector.

AllowDeleteShape

Specifies whether a user can delete a shape.

AllowAddShape

Specifies whether a user can add a shape.

ToString()

This method is not in effect for the DiagramEditingSettings class.

Assign(PropertiesBase)

Copies public properties from the specified object to the current object.

DiagramEditingSettings(IPropertiesOwner)

Initializes a new instance of the DiagramEditingSettings class with specified settings.

AllowMoveShape

Specifies whether a user can move a shape.

AllowResizeShape

Specifies whether a user can resize a shape.

AllowChangeConnectorText

Specifies whether a user can change a connector's text.

AllowChangeShapeText

Specifies whether a user can change a shape's text.

Remarks

Use the SettingsEditing property to access options that prohibit edit operations.

You can handle the RequestEditOperation event to implement custom logic that determines whether the operation is allowed.

To protect the ASPxDiagram control from all edit operations, set the ReadOnly property to true.

Run Demo: Web Forms Diagram - Editing Restrictions

See Also