Hello,
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?
Best Regards
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?
Best Regards
7 Answers, 1 is accepted
0
Hi Aidin,
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.
Regards,
Ralitsa
Telerik
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.
Regards,
Ralitsa
Telerik
TRY TELERIK'S NEWEST PRODUCT - APPLICATION ANALYTICS for WINFORMS.
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 >>
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 >>
0
Hello Aidin,
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 .
Regards,
Ralitsa
Telerik
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 .
Regards,
Ralitsa
Telerik
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).
0
Scott
Top achievements
Rank 1
answered on 18 Nov 2017, 05:22 PM
Has the issue been resolved? If so, please provide direction. Thank you!
-Scott
0
Hello, Scott,
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.
Regards,
Dess
Progress Telerik
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.
Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
sebastien
Top achievements
Rank 1
answered on 13 Feb 2018, 06:39 PM
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.
seb
0
Hi Sebastien,
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.
Regards,
Hristo
Progress Telerik
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:
ThemeResolutionService.LoadPackageFile(@
"..\..\CustomTheme.tssp"
);
ThemeResolutionService.ApplyThemeToControlTree(
this
.userControl11,
"CustomTheme"
);
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.
Regards,
Hristo
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
sebastien
Top achievements
Rank 1
answered on 14 Feb 2018, 02:35 PM
Perfect, worked great thanks!