RadCarousel Transparency

2 posts, 1 answers
  1. Shahiran
    Shahiran avatar
    6 posts
    Member since:
    Oct 2014

    Posted 08 Oct 2014 Link to this post

    <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.
  2. Answer
    Boris
    Admin
    Boris avatar
    276 posts

    Posted 08 Oct 2014 Link to this post

    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.

     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top