Articles in this section
Category / Section

How to disable page editing in WPF Diagram (SfDiagram)?

1 min read

WPF Diagram (SfDiagram) provides support to enable or disable the page editing. We have provided code example to represent this. Please refer to the code example as below.

C#

//Here, sfdiagram is the instance of SfDiagram.
sfdiagram.Constraints = sfdiagram.Constraints & ~GraphConstraints.PageEditing;

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied