Customizing CarouselScrollButton

2 posts, 0 answers
  1. Raj
    Raj avatar
    3 posts
    Member since:
    Jun 2010

    Posted 13 Oct 2010 Link to this post

    Hi,

    Please tell me the way to override the custom color and appearance of  the CarouselScrollButton. I tried the following code and it didn't have any effect on button.
    <br> <telerik:CarouselScrollButton Margin="2" CarouselScrollButtonType="LineLeft" Grid.Column="1" Height="40" Width="40" Command="{x:Static ScrollBar.LineLeftCommand}" Style="{StaticResource CarouselScrollButtonStyle}" ><br>                        <telerik:CarouselScrollButton.Foreground><br>                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br>                                <GradientStop Color="#FFD0F262" Offset="0.004"/><br>                                <GradientStop Color="#FFDEEC58" Offset="1"/><br>                            </LinearGradientBrush><br>                        </telerik:CarouselScrollButton.Foreground><br>                    </telerik:CarouselScrollButton>

    Please tell me what  am i doing wrong.


    Regards,
    Raj.


  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 14 Oct 2010 Link to this post

    Hi Raj,

    I have prepared an example for you that demonstrates how to modify the default style of CarouselScrollButton in the horizontal scroll bar of RadCarousel. Please check the attached project and let me know how it fits in your scenario.

    If you need any further assistance let me know.

    Sincerely yours,
    Vanya Pavlova
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top