ASPxDiagram.ReadOnly Property
Specifies whether the diagram is read-only.
Namespace: DevExpress.Web.ASPxDiagram
Assembly: DevExpress.Web.ASPxDiagram.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false |
|
Remarks
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">
</dx:ASPxDiagram>
When the ReadOnly property is set to false
, use the SetReadOnly(readOnly) method to enable/disable read-only mode on the client side.
Note
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.
See Also