DiagramEditOperation.BeforeChangeConnectorText Property
In This Article
Identifies the BeforeChangeConnectorText operation.
#Declaration
TypeScript
static readonly BeforeChangeConnectorText: string
#Property Value
Type | Description |
---|---|
string | Returns “Before |
#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