aspnet-devexpress-dot-web-dot-aspxdiagram-dot-diagrameditingsettings-ad66a4f3.md
Specifies whether a user can delete a connector.
Namespace : DevExpress.Web.ASPxDiagram
Assembly : DevExpress.Web.ASPxDiagram.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue(true)]
public bool AllowDeleteConnector { get; set; }
<DefaultValue(True)>
Public Property AllowDeleteConnector As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true, to allow a user to perform the action; otherwise, false.
|
You can access this nested property as listed below:
| Library | Object Type | Path to AllowDeleteConnector |
|---|---|---|
| ASP.NET MVC Extensions | DiagramSettings |
.SettingsEditing .AllowDeleteConnector
| | ASP.NET Web Forms Controls | ASPxDiagram |
.SettingsEditing .AllowDeleteConnector
|
Set the AllowDeleteConnector property to false to prohibit the operation.
<dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px">
<SettingsEditing AllowDeleteConnector = "False" />
</dx:ASPxDiagram>
Note that in this case the RequestEditOperation event does not fire for the DeleteConnector operation. For more information on edit operation restrictions, refer to the following help topic: Restrict Edit Operations.
See Also