Back to Devexpress

DiagramControl.IsReadOnly Property

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramcontrol-bcad7be8.md

latest4.9 KB
Original Source

DiagramControl.IsReadOnly Property

Specifies whether to enable all diagram protection properties. Setting specific properties to true overrides the IsReadOnly property value.

Namespace : DevExpress.Xpf.Diagram

Assembly : DevExpress.Xpf.Diagram.v25.2.dll

NuGet Package : DevExpress.Wpf.Diagram

Declaration

csharp
public bool IsReadOnly { get; set; }
vb
Public Property IsReadOnly As Boolean

Property Value

TypeDescription
Boolean

true, to disable all protection options by default; otherwise, false.

|

Remarks

Below is a list of diagram protection properties that allow you to restrict certain end-user operations.

If the IsReadOnly property is set to true , all these properties are set to false by default. Setting specific properties to true overrides the IsReadOnly property value.

See Also

DiagramControl Class

DiagramControl Members

DevExpress.Xpf.Diagram Namespace