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:
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
.