Category / Section
How to remove rotator of the node in WPF Diagram (SfDiagram)?
1 min read
Selector visually represents the selected elements with certain editable thumbs such as rotator, resizer and quickcommands in WPF Diagram (SfDiagram). The visual representation of these thumbs can be controlled with SelectorConstraints.
C#
SfDiagram Diagram = new SfDiagram(); //SelectorConstraints SelectorConstraints constraints = (Diagram.SelectedItems as SelectorViewModel).SelectorConstraints; //Remove Rotator from SelectorConstraints (Diagram.SelectedItems as SelectorViewModel).SelectorConstraints.Remove(SelectorConstraints.Rotator);