Control Drag Panning

2 posts, 0 answers
  1. Mark Jakes
    Mark Jakes avatar
    27 posts
    Member since:
    Feb 2010

    Posted 11 Jan 2013 Link to this post


    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.
  2. Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 15 Jan 2013 Link to this post

    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.

  3. DevCraft banner
Back to Top