This is a migrated thread and some comments may be shown as answers.

Making Individual Shapes Read-Only

1 Answer 36 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
The Cowboy
Top achievements
Rank 1
The Cowboy asked on 08 Jun 2012, 04:14 PM
How would one go about making certain shapes in a diagram read-only--i.e. cannot be resized, or manipulated in any way--but would still be enabled (i.e. HitTest is enabled)?  The IsManipulationEnabled property on the shape seems to have no impact.

1 Answer, 1 is accepted

Sort by
0
Accepted
Miro Miroslavov
Telerik team
answered on 11 Jun 2012, 11:31 AM
Hi Stiles,

 There is two possible solution till we provide a better API - you may mark as handled the routed PreviewDrag, Rotate events for a shapes that you want to be readonly. Or better you may handle the SelectionChanged event and regarding on the selected shape - you may change the IsRoation/Resizing Enabled on the diagram. This is a problem that we'll address as soon as possible - possible for the Q2.Sp1. You can also track the issue progress here.

Kind regards,
Miro Miroslavov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Diagram
Asked by
The Cowboy
Top achievements
Rank 1
Answers by
Miro Miroslavov
Telerik team
Share this question
or