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

Use theme on other controls

6 Answers 58 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Atje
Top achievements
Rank 1
Atje asked on 06 Apr 2008, 07:01 PM
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

6 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 08 Apr 2008, 03:28 PM
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
0
Atje
Top achievements
Rank 1
answered on 08 Apr 2008, 05:16 PM
Let's forget about the taskpane.

A simple panel, how can i do that?
0
Nikolay
Telerik team
answered on 11 Apr 2008, 11:15 AM
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
0
Atje
Top achievements
Rank 1
answered on 11 Apr 2008, 04:54 PM
Thank you very much!
0
Atje
Top achievements
Rank 1
answered on 12 Apr 2008, 06:13 PM
i'm using vb 2008, i can't read the files...unable to load...
0
Nikolay
Telerik team
answered on 14 Apr 2008, 03:08 PM
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
Tags
RibbonBar
Asked by
Atje
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Atje
Top achievements
Rank 1
Share this question
or