Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
990
Scrolling on drag?
posted

Is there a cool way to make the carousel scroll it's content in response to mouse dragging on an item? So that you can use the control a bit like Cover Flow on an iPhone?? (if you're a patent lawyer, please look away!)

 John

Parents
No Data
Reply
  • 8576
    Offline posted
    Hi John -
     
    You can cause the Carousel to scroll by calling the various scrolling methods on the exposed ScrollInfo object.  For example:
     
    myCarousel.ScrollInfo.LineLeft();
     
    By calling the appropriate ScrollInfo method depending on the direction the user is dragging the item and how far they have dragged the item, you should be able to simulate the behavior you are looking for.
     
    Joe Modica
Children