Skip to main content

ASPxDiagram.ReadOnly Property

Specifies whether the diagram is read-only.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v23.1.dll

NuGet Package: DevExpress.Web


public bool ReadOnly { get; set; }

Property Value

Type Default Description
Boolean false

true to make the diagram read-only; otherwise, false.


Set the ReadOnly option to true to prohibit users from editing the diagram.

<dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px" ReadOnly="true">

When the ReadOnly property is set to false, use the SetReadOnly(readOnly) method to enable/disable read-only mode on the client side.


Diagram page settings are stored in a diagram model. When the ReadOnly property is set to true, the model can not be modified and page settings specified via the SettingsPage property are not in effect.

Run Demo: Read Only

See Also