Skip to main content
All docs
V24.1

DiagramEditingSettings.AllowChangeConnection Property

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

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public bool AllowChangeConnection { get; set; }

Property Value

Type Default Description
Boolean true

true, to allow a user to perform the action; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AllowChangeConnection
ASP.NET Web Forms Controls ASPxDiagram
.SettingsEditing .AllowChangeConnection
ASP.NET MVC Extensions DiagramSettings
.SettingsEditing .AllowChangeConnection

Remarks

Set the AllowChangeConnection property to false to prohibit the operation and hide connection points.

<dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px">
    <SettingsEditing AllowChangeConnection = "False" />
</dx:ASPxDiagram>

Note that in this case the RequestEditOperation event does not fire for the ChangeConnection operation. For more information on edit operation restrictions, refer to the following help topic: Restrict Edit Operations.

See Also