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

Remove selected item highlight

1 Answer 104 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
Aaron Graham
Top achievements
Rank 1
Aaron Graham asked on 22 Feb 2010, 08:15 PM
How do I remove the yellow background from the selected item?  Below is the current control I am using
<telerik:RadCarousel x:Name="itemCarousel" HorizontalAlignment="Stretch" 
                VerticalAlignment="Stretch" Height="500" Width="834" HorizontalScrollBarVisibility ="Hidden"  Loaded="itemCarousel_Loaded" AutoGenerateDataPresenters="True"
                    <telerik:RadCarousel.Resources> 
                        <Style x:Key="bundlePanel" TargetType="{x:Type telerik:RadCarouselPanel}" > 
                            <EventSetter Event="TopContainerChanged" Handler="panel_TopContainerChanged"/> 
                            <Setter Property="ItemsPerPage" Value="3"/> 
                            <Setter Property="IsOpacityEnabled" Value="False"/> 
                            <Setter Property="PathPadding" Value="0,0,0,100"/> 
                        </Style> 
 
                    </telerik:RadCarousel.Resources> 
                </telerik:RadCarousel> 


Thanks

1 Answer, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 23 Feb 2010, 07:39 AM
Hello Aaron Graham,

You should override the default CarouselItem template and remove the triggers that are responsible for the selection background. I have prepares a sample application that demonstrates this.

All the best,
Milan
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
Aaron Graham
Top achievements
Rank 1
Answers by
Milan
Telerik team
Share this question
or