carrusel items

2 posts, 0 answers
  1. Oscar Rivera
    Oscar Rivera avatar
    2 posts
    Member since:
    Jan 2007

    Posted 05 Jun 2008 Link to this post

    how can i do, for use the carrusel without scroll controls , i need that with the mouse move it and can select items and when i click a front item can open a rad window, or this item show me another carrusel o reload the same with others items.

    i am a subscribed user but in the i dont see the support for wpf controls.

    please response me it is urgent for me, i need this.
  2. Milan
    Milan avatar
    1989 posts

    Posted 06 Jun 2008 Link to this post

    Hi Oscar Rivera,

    Currently the only way to hide the scrollbars is to define a new template like this:

                <Style TargetType="{x:Type UI:CarouselItemsControl}">   
                    <Setter Property="Template">   
                            <ControlTemplate TargetType="{x:Type UI:CarouselItemsControl}">   
                                <Border Background="{TemplateBinding Background}"  
                                BorderBrush="{TemplateBinding BorderBrush}"  
                                BorderThickness="{TemplateBinding BorderThickness}">   
                                    <ScrollViewer CanContentScroll="True" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden">   
                                        <ItemsPresenter x:Name="ItemsPresenter" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>   
            <UI:RadCarousel x:Name="Carousel"/>   

    Now the scrollbars will be hidden, still you will be able to control the carousel with a mouse/keyboard.
    Unfortunately the current beta version of RadCarousel does not have public properties or events that can allow you to easily access the selected item. The good news is that this functionality will be available in the next release. Thanks for your feedback!

    All the best,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top