Skip to main content
All docs
V23.2

DiagramEditOperation.ChangeConnectorPoints Property

Identifies the ChangeConnectorPoints operation.

Declaration

static readonly ChangeConnectorPoints: string

Property Value

Type Description
string

Returns “ChangeConnectorPoints”.

Remarks

The operation parameter returns the ChangeConnectorPoints value if the RequestEditOperation event fired because a user changed a connector’s points.

<dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px">
    <ClientSideEvents RequestEditOperation="onRequestEditOperation" />
    ...
function onRequestEditOperation(s, e) {
    if(e.operation === DiagramEditOperation.ChangeConnectorPoints) {
        if(e.args.newPoints.length > 2) {
            if(e.reason !== DiagramRequestEditOperationReason.CheckUIElementAvailability)
                showWarning("You cannot add points to a connector.");
            e.allowed = false;
        }
    }
    ...
}

The RequestEditOperation event does not fire for the ChangeConnectorPoints operation if the AllowChangeConnectorPoints property is set to false.

See Also