Setting up a carousel for the first time

2 posts, 0 answers
  1. G S S
    G S S avatar
    85 posts
    Member since:
    Mar 2008

    Posted 27 Sep 2009 Link to this post

    Hi,

    This control (Carousel) seems to be quite a beast to get to grips with.

    Given the following code (and the paths are correct but taken out for privacy reasons), this does not display the carousel:


            <telerikNavigation:CarouselScrollViewer>
                <telerikNavigation:RadCarouselPanel x:Name="Panel" ItemsPerPage="7" PathPadding="50, 0, 50, 0">
                    <Image Source=" " VerticalAlignment="Top" HorizontalAlignment="Left"/>
                    <Image Source=" " VerticalAlignment="Top" HorizontalAlignment="Left"/>
                </telerikNavigation:RadCarouselPanel>
            </telerikNavigation:CarouselScrollViewer>

    Is this the correct way to setup a carousel?


    Thanks
  2. Milan
    Admin
    Milan avatar
    1989 posts

    Posted 29 Sep 2009 Link to this post

    Hi G S S,

    You just need to set the CanContentScroll property of the ScrollViewer to true to be able to control the carousel. You can also use the default ScrollViewer class instead of the CarouselScrollViewer one.
    Hope this helps.

    Sincerely yours,
    Milan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top