Thanks for your great product,
I would like to set my custom theme to the application at design time. But the problem is, when I set my theme to the form, after adding a control like RadButton to this form, theme class name property of new button is empty and I have to set it manually. Is there any way to solve my problem in order to setting controls theme automatically from their parent?
7 Answers, 1 is accepted
Thank you for contacting us.
During design time you can apply a theme only to the RadForm and to each RadControl in it separately.
We already have a feature request about applying a theme to the entire solution at design theme which is logged in our bug tracking system. Currently, I am unable to provide a link of the item to track its progress, subscribe for status changes and add your vote/comment to it, because we are migrating our current bug tracking system to a Feedback Portal. We will let you know the link as soon as possible. Thank you for your understanding.
Should you have further questions, I would be glad to help.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
I am writing to inform you that we have migrated our Public Issue Tracking System (PITS) to a Feedback Portal. From now on, we are going to use this portal for issues, feature requests and feedback from our users.
As promised I am sending you the issue item link. This will allow you to track it for status changes and add your vote/comment for it. This link is as follows: ADD. - Apply a theme to the entire application at Design time .
Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).
Has the issue been resolved? If so, please provide direction. Thank you!
Thank you for writing.
In the previously referred feedback item, it is noted that the feature request is completed in Q1 2014. The specified resolution says: "Set the RadForm or RadRibbonForm ThemeName property, then right-click on it and press "Apply current form's theme to control."
I hope this information helps. Should you have further questions I would be glad to help.
Is there a way to manually apply a theme to a UserControl, maybe with ThemeResolutionService or some kind?
I'm planning on adding this code in the MyUserControl.Designer, method InitializeComponent() to have an idea of how it'll look.
We only have a Main form which we can apply the designer theme, but all the others are inheritences of UserControl.
You can use the ThemeResolutionService.ApplyThemeToControlTree method and pass your user control as the first parameter of the method and the theme name as the second:
Please also note that the designer file of your user control will be regenerated every time you make a change in the designer of Visual Studio and any additional code you add in this file will be wiped. You can call it in the constructor of your user control after the IntializeComponent method call.
Should you have further questions please do not hesitate to write back.