Skip to main content
All docs

DiagramEditOperation.DeleteConnector Property

Identifies the DeleteConnector operation.


static readonly DeleteConnector: string

Property Value

Type Description

Returns “DeleteConnector”.


The operation parameter returns the DeleteConnector value if the RequestEditOperation event fired for the following reasons:

  • a user is about to delete a connector,
  • the ASPxDiagram control is updating the Cut and Delete command states (for instance, before displaying a context menu).

Use the reason parameter to identify the reason why the event fired.

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

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

See Also