How to give background color of redpanelbar control

4 posts, 0 answers
  1. Robert Willis
    Robert Willis avatar
    2 posts
    Member since:
    Apr 2010

    Posted 16 Jun 2010 Link to this post

    Hi
    How to give radPanelbar backcolor as suggest in attached document in the telerik window control version (2010.1.10.504).
    because in previous version(2010.1.10.409) by default .
  2. Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 17 Jun 2010 Link to this post

    Hello Robert Willis,

    Thank you for contacting us.

    To set the BackColor property of the RadPanelBarGroupElement you can use the following approach:

    LightVisualElement lve = ((LightVisualElement)(this.radPanelBarGroupElement1.Children[0]));
    lve.GradientStyle = GradientStyles.Gel;
    lve.BackColor = Color.Red;
    lve.BackColor2 = Color.Orange;

    I hope you find this helpful.

    Do not hesitate to get back to me if you have further questions.

    Regards,
    Boryana
    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Robert Willis
    Robert Willis avatar
    2 posts
    Member since:
    Apr 2010

    Posted 24 Jun 2010 Link to this post

    it's not work for me, i am not able to replace white backgroud of radPanelbar with provided code.
    Please give me another suggestion.
  5. Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 29 Jun 2010 Link to this post

    Hi Robert Willis,

    The fact that the provided solution does not work implies that your application creates specific circumstances that affect the behavior of RadPanelBar. For this reason I would like to ask you to send us a sample project that reproduces your issue. Once we are able to observe and analyze your case, we will provide you with an adequate solution.

    Please note that you should open a new Support Ticket in order attach files. To open a new Support Ticket please choose Your Account >> Support Tickets >> Support Ticket.

    I am looking forward to your reply.

    All the best,
    Boryana
    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
Back to Top