Skip to main content
All docs
V24.2

DiagramEditingSettings.AllowChangeShapeText Property

Specifies whether a user can change a shape’s text.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v24.2.dll

Declaration

[DefaultValue(true)]
public bool AllowChangeShapeText { get; set; }

Property Value

Type Default Description
Boolean true

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

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AllowChangeShapeText
ASP.NET MVC Extensions DiagramSettings
.SettingsEditing .AllowChangeShapeText
ASP.NET Web Forms Controls ASPxDiagram
.SettingsEditing .AllowChangeShapeText

Remarks

Set the AllowChangeShapeText property to false to prohibit the operation.

<dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px">
    <SettingsEditing AllowChangeShapeText = "False" />
</dx:ASPxDiagram>

Note that in this case the RequestEditOperation event does not fire for the BeforeChangeShapeText and ChangeShapeText operations. For more information on edit operation restrictions, refer to the following help topic: Restrict Edit Operations.

See Also