Articles in this section
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);

 

Node without Rotator

View sample in GitHub.

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