I change Part.RotateAdornmentTemplate of a Node(the Cursor is set to a custom cursor to indidate rotation.) and the custom icon is shown perfectly.
My problem is when I use mouse to rotate the node, the Cursor is changed back to an arrow. Is there a way to keep the custom cursor when the Node is rotated?
<DataTemplate x:Key="DefaultRotateAdornmentTemplate">
<Path go:NodePanel.Figure="Ellipse" Width="6" Height="6" Fill="Yellow" Stroke="Black" StrokeThickness="1" Cursor="Hand" />
</DataTemplate>
You can see all of the templates in docs\GenericSilverlight.xaml.
If you want to set the cursor in code, you can override DoActivate to set the Diagram.Cursor and in DoDeactivate to reset it to null.
My problem is when I use mouse to rotate the node, the Cursor changes back to an arrow although the Cursor is set to a custom one in the RotateAdornmentTemplate.
I'd like to keep the custom cursor during the whole rotation operation.