Carousel - Border

5 posts, 0 answers
  1. chaily pardes
    chaily pardes avatar
    6 posts
    Member since:
    Aug 2009

    Posted 19 Aug 2009 Link to this post

    Hi,
    I put a carousel on a form with transparent BackgroundColor,In runTime I see it like with light grey BackgroundColor.
    why is this happen?
    I want also the Carusel with no border/frame
    How can I do that?
    Thanks,
  2. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 21 Aug 2009 Link to this post

    Hello chaily pardes,

    Please put this line of code after calling InitializeComponent:
    this.radCarousel1.CarouselElement.Children[1].Visibility = Telerik.WinControls.ElementVisibility.Hidden; 

    Also, you can hide the border from Edit UI Elements (refer to the attached screenshot).

    Please, keep in mind that the transparency may cause some performance issues. I would suggest you set ItemReflectionPercentage property to zero or decrease its value. Or you can avoid transparency by setting a Carousel background image that mixes well with the form background.

    A very good example that demonstrates RadCarousel with a well-mixed background is located in the Demo Application (RadCarousel -> Music Library).

    Don't hesitate to contact us if you have other question.

    Regards,
    Peter
    the Telerik team

    Instantly find answers to your questions on the newTelerik Support Portal.
    Check out the tipsfor optimizing your support resource searches.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. chaily pardes
    chaily pardes avatar
    6 posts
    Member since:
    Aug 2009

    Posted 03 Sep 2009 Link to this post

    Hi,
    Thank you for your answers but I still have a problem with the Carousel background
    the background is light blue but in the bottom it is changed to gray.
    how can I get rid of this gray???
    How can I send a screenShot of it to you ?
    Thank you very much
    Chaily
  5. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 04 Sep 2009 Link to this post

    Hi Chaily,

    You should select the carousel, open Edit UI elements and set Number of colors to 1. Please, refer to the attached screenshot how to do this. I hope this helps.

    Regards,
    Peter
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  6. chaily pardes
    chaily pardes avatar
    6 posts
    Member since:
    Aug 2009

    Posted 06 Sep 2009 Link to this post

    Perfect!!!
    Thank You!!!
Back to Top
UI for WinForms is Visual Studio 2017 Ready