This is a migrated thread and some comments may be shown as answers.

Customizing CarouselScrollButton

1 Answer 66 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
Raj
Top achievements
Rank 1
Raj asked on 13 Oct 2010, 05:54 PM
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.


1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 14 Oct 2010, 03:30 PM
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
Tags
Carousel
Asked by
Raj
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or