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

Control Drag Panning

1 Answer 36 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Mark Jakes
Top achievements
Rank 1
Mark Jakes asked on 12 Jan 2013, 03:51 AM

Hello

I like the Ctrl + MouseLeftButtonDown dragging to pan around the diagram, however, if the user happens to do this over a diagram shape that is read only, the panning doesn't work.

Is it possible in this instance to somehow bubble up the mouse event to pan the whole diagram if the user happens to click a shape that is readonly?

Many thanks

Mark.

1 Answer, 1 is accepted

Sort by
0
Miro Miroslavov
Telerik team
answered on 15 Jan 2013, 06:59 AM
Hi Mark Jakes,

 What do you mean by readonly shape? If the shape is disabled (IsEnabled = false) then the Panning over it will work. It also depends on if you need the shape to be editable (its content), if not, you can also try with the IsHitTestVisible =  false. 
If none of those is working for you, with the next release we'll allow you to modify this behavior on lower level by modifying our internal Services. This will happen with the new extensibility mechanism we're working on.
Hope this helps.
 

Regards,
Miro Miroslavov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

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