Back to Devexpress

DiagramEditingSettings.AllowChangeConnection Property

aspnet-devexpress-dot-web-dot-aspxdiagram-dot-diagrameditingsettings-62d7d543.md

latest2.8 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(true)]
public bool AllowChangeConnection { get; set; }
vb
<DefaultValue(True)>
Public Property AllowChangeConnection As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to AllowChangeConnection
ASP.NET MVC ExtensionsDiagramSettings

.SettingsEditing .AllowChangeConnection

| | ASP.NET Web Forms Controls | ASPxDiagram |

.SettingsEditing .AllowChangeConnection

|

Remarks

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

aspx
<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

Restrict Edit Operations

RequestEditOperation Event

ReadOnly

DiagramEditingSettings Class

DiagramEditingSettings Members

DevExpress.Web.ASPxDiagram Namespace