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

RadCarousel Transparency

1 Answer 87 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
Shahiran
Top achievements
Rank 1
Shahiran asked on 08 Oct 2014, 07:22 AM
<Please Refer Picture>

Hi, how to change Word Icon to solid? I dont want the transperency effect. Scroll out the properties but I didnt found what I want.

1 Answer, 1 is accepted

Sort by
0
Accepted
Boris
Telerik team
answered on 08 Oct 2014, 03:03 PM
Hi Shahiran,

If I understand you correctly, you want to change the opacity of the Carousel items, which are not the current item. A possible way to do that is to set the IsOpacityEnabled property of RadCarouselPanel to false like so:

public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
 
            this.radCarousel.Loaded += radCarousel_Loaded;         
        }
 
        void radCarousel_Loaded(object sender, RoutedEventArgs e)
        {
            RadCarouselPanel panel = this.radCarousel.Panel as RadCarouselPanel;
            panel.IsOpacityEnabled = false;
        }
    }

I attached a sample project that demonstrates the suggested approach.

I hope this helps.

Regards,
Boris Penev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Carousel
Asked by
Shahiran
Top achievements
Rank 1
Answers by
Boris
Telerik team
Share this question
or