pinch to zoom issue

Thread is closed for posting
4 posts, 0 answers
  1. Mike
    Mike avatar
    32 posts
    Member since:
    Mar 2012

    Posted 07 May 2012 Link to this post

    I just implemented the slideView control for images and I noticed an issue with the main image not on top.  The right preview is still on top when the pinch starts.  Below is my simple markup

               ItemsSource="{Binding Photos}"
               SelectedItem="{Binding CurrentPhoto, Mode=TwoWay}"
               AdjacentItemsPreviewMode="Both" IsLoopingEnabled="True">
                           Source="{Binding BestResolutionAvailableUri}"
                           ZoomMode="Free"  />                  

  2. Kiril Stanoev
    Kiril Stanoev avatar
    1512 posts

    Posted 09 May 2012 Link to this post

    Hello Mike,

    I can confirm that this is an issue within both RadSlideView and PanAndZoomImage. Unfortunately, we are not aware of an existing workaround which can be useful in your particular scenario.
    It is in our plans to work extensively on fixing this issue immediately after our official Q2 2012 release (scheduled for the middle of June). I'll let you know as soon as we manage to fix the issue. Meanwhile, let me know if you have further questions or comments. In addition, I've updated your Telerik points accordingly. 

    Kind regards,
    Kiril Stanoev
    the Telerik team

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

  3. Mike
    Mike avatar
    32 posts
    Member since:
    Mar 2012

    Posted 09 May 2012 Link to this post

    Best work around is to turn off preview :)  I wanted more of the default wp7 photo viewer look anyways.

    Always good to know it's not related to any of my code.


  4. Alex
    Alex avatar
    25 posts
    Member since:
    Mar 2011

    Posted 28 Oct 2013 Link to this post

    What we did in our solution is following:
    We added a behavior to the PanAndZoom which basically adds AssociatedObject (PanAndZoom control) to the shared WeakReference<PanAndZoom> list;

    On the page itself, we subscribe to the SlideView.SelectionChanged event and in the handler we walk over the collection and reset .Zoom and .Pan properties of all alive controls inside.

    The homework for everybody is to find out when and how to handle that collection so it doesn't bring any memory-troubles ;)
Back to Top