Use theme on other controls

7 posts, 0 answers
  1. Atje
    Atje avatar
    5 posts
    Member since:
    Mar 2008

    Posted 06 Apr 2008 Link to this post

    hai there!

    I've added a taskpane to my project.

    I want to use de same colors as the RadRibbonBar.

    How can I set the same colors to the taskpane control?

    Thank you very much
  2. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 08 Apr 2008 Link to this post

    Hi Atje,

    Thank you for writing.

    Please give me more information about the taskpane. What type of control is it and which of its color properties would you like to change?

    I am looking forward to your response.

    Best wishes,
    Nikolay
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Atje
    Atje avatar
    5 posts
    Member since:
    Mar 2008

    Posted 08 Apr 2008 Link to this post

    Let's forget about the taskpane.

    A simple panel, how can i do that?
  5. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 11 Apr 2008 Link to this post

    Hello Atje,

    You can do it programmatically or you can make a theme with the same colors, which are used in the RadRibbonBar theme. Concerning the coding approach, your code will depend on which colors of which elements of RadRibbonBar you would want applied to your RadPanel.

    In the sample application attached I have taken the colors pattern of the RadRibbonBarElement's FillPrimitive. You can observe the elements hierarchy of RadPanel and RadRibbonBar by clicking their respective SmartTags and then Edit UI Elements.

    If you need additional assistance, do not hesitate to contact me.

    Sincerely yours,
    Nikolay
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Atje
    Atje avatar
    5 posts
    Member since:
    Mar 2008

    Posted 11 Apr 2008 Link to this post

    Thank you very much!
  7. Atje
    Atje avatar
    5 posts
    Member since:
    Mar 2008

    Posted 12 Apr 2008 Link to this post

    i'm using vb 2008, i can't read the files...unable to load...
  8. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 14 Apr 2008 Link to this post

    Hello Atje,

    I have recreated the project in Visual Studio 2008, in VB.NET. I have also added two lines of code, which are responsible for the color layout in RadPanel. Please find the project attached.

    Contact me, if you need further assistance.

    Best wishes,
    Nikolay
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top
UI for WinForms is Visual Studio 2017 Ready