Is there a good way to make a ShapeCanvas read-only without just going in and blocking events/actions as needed?
I'm trying to set up an instance where I will create a diagram, and the nodes of the diagram can be selected, but every other aspect of the ShapeFramework will be disabled (no editing labels, moving shapes around, etc)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there a good way to make a ShapeCanvas read-only without just going in and blocking events/actions as needed?
I'm trying to set up an instance where I will create a diagram, and the nodes of the diagram can be selected, but every other aspect of the ShapeFramework will be disabled (no editing labels, moving shapes around, etc)
Just figured it out, turning off styles on the ShapeCanvas and the Shapes themselves accomplishes it.
Looks like I'll need to throw in OnSelect and OnDeselect functions to accomplish what I'd like.