RadCarrousel Events

2 posts, 0 answers
  1. leox
    leox avatar
    2 posts
    Member since:
    Apr 2009

    Posted 10 Jan 2012 Link to this post

    Hi, how could i get the direction that the carrousel is moving to (is moving left, right)?
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 11 Jan 2012 Link to this post

    Hi Leox,

    You can handle ScrollChanged event of the ScrollViewer and verify what is the current offset:

    <telerik:RadCarousel x:Name="myRadCarousel" ScrollViewer.ScrollChanged="myRadCarousel_ScrollChanged"/>

    Thus you will know whether the scrolling to left or to right.
    Generally, invoking MoveBy(index) with negative numbers will scroll right, while calling it with positive - scroll left.  


    All the best,
    Maya
    the Telerik team

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

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top