Skip to main content
A newer version of this page is available. .
All docs
V20.2

DiagramEditOperation.BeforeChangeConnectorText Property

Identifies the BeforeChangeConnectorText operation.

Declaration

static readonly BeforeChangeConnectorText: string

Property Value

Type Description
string

Returns “BeforeChangeConnectorText”.

Remarks

The operation parameter returns the BeforeChangeConnectorText value if the RequestEditOperation event fired because a user is about to edit a connector’s text.

<dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px">
    <ClientSideEvents RequestEditOperation="onRequestEditOperation" />
    ...
function onRequestEditOperation(s, e) {
    if(e.operation === DiagramEditOperation.BeforeChangeConnectorText) {
        e.allowed = false;
    }
    ...
}

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

See Also