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

Application Themes

2 Answers 196 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
webcessity
Top achievements
Rank 1
webcessity asked on 02 Aug 2008, 01:18 AM

I am new to the winforms telerik controls. The ASP>NEt controls are fantastic!

My issue is, I want to to apply a theme to my entrie application.

I read about using ApplicationThemeName  to achieve this.

Is this what I do? Telerik.WinControls.

ThemeResolutionService.ApplicationThemeName = "Telerik"; Where in my code to I place this?
Is there some detailed help on this topic?

I have no issues with applying a theme to controls. But I want to say use theme xyz and apply to all controls throughout the application.

Regards
Andrew

2 Answers, 1 is accepted

Sort by
0
webcessity
Top achievements
Rank 1
answered on 02 Aug 2008, 02:01 AM
I managed to apply the theme across the entire application. I had to dragged the theme onto the main form.

Is there a good tutorial on the themes. I want to slightly modify some of the existing themes. Mainly the RadFrom themes. How do I do this?

Andrew
0
Peter
Telerik team
answered on 04 Aug 2008, 02:36 PM
Hi webcessity,

Thank you for your interest in RadControls for WinForms.

The best place to set ApplicationTheme name is Form_Load event or after initialize component function.
Be aware that not of all theme are developed for all controls.
For example RadGrid doesn't have a Office2007Black theme and for black appearance of RadGrid you should use Vista Black or Vista Telerik.

Please read the following thread that discusses how to change the Form theme with Visual Style Builder.
In conclusion I suggest using RadTitleBar with ShapedForm (see the attached project)
It should be easy to customize the RadTitleBar using the SmartTag->Edit UI elements (see the screenshots) or to change the image via custom theme. I've attached a modified Office2007Black theme for RadTitleBar which sets custom image in the left corner.


Hope this helps.


Best wishes,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Themes and Visual Style Builder
Asked by
webcessity
Top achievements
Rank 1
Answers by
webcessity
Top achievements
Rank 1
Peter
Telerik team
Share this question
or