I created a CompositeAnnotations. How to hide anchor points adorner if IsEditable is true?
I found a solution with style:
<s:CompositeAnnotation.ResizingGripsStyle>
<Style TargetType="Thumb">
<Setter Property="Width" Value="7"/>
<Setter Property="Height" Value="7"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate />
</Setter.Value>
</Setter>
</Style>
</s:CompositeAnnotation.ResizingGripsStyle>`
but maybe there is a better way?
- Alitec Developer asked 8 years ago
- last edited 6 years ago
- You must login to post comments
Hi there,
The Templating the adorner to remove it is the only way to do this. It’s a WPF friendly way and it works, do you need more?
Best regards,
Andrew
- Andrew Burnett-Thompson answered 8 years ago
-
No, thank you. It’s ok for me.
- You must login to post comments