This question is locked. New answers and comments are not allowed.
hi,
I am using Winform TabStrip in Outlook add-in. I want my add-in should inherit outlook theme. It works fine with other controls. But Tabstrip uses it's own theme, can i disable theme or create transparent theme.
Regards
Sandeep
I am using Winform TabStrip in Outlook add-in. I want my add-in should inherit outlook theme. It works fine with other controls. But Tabstrip uses it's own theme, can i disable theme or create transparent theme.
Regards
Sandeep
3 Answers, 1 is accepted
0
Hi Sandeep,
Thank you for the question.
I am not quite sure I understand your scenario completely. Every theme is made for a specific control and other controls cannot inherit it. Therefore, I am wondering how other controls can inherit your Outlook theme. Do you mean that the TabStrip does not look as in Outlook? Its default theme (ControlDefault theme) mimics Office 2007 Blue, so any additional details on your case will be welcome.
The theming of RadControls cannot be disabled. However, you can make a transparent theme for your RadTabStrip, so it will get the colors of the parent container (a form or a panel).
In order to make your transparent or semi-transparent theme, you should set an Alpha channel to the colors in the theme for the RadTabStrip's subelements. Generally, a color is defined by three integer numbers for the Red, Green and Blue colors. To set an Alpha channel, you should insert a forth integer number in front of these three numbers.
For example you have a color defined as 155, 155, 155 for the RGB standard. To see an Alpha channel of 100, you should set it as 100, 155, 155, 155.
I am attaching an example of a semi-transparent RadTabStrip theme. If you have additional questions, feel free to contact me.
Regards,
Nikolay
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Thank you for the question.
I am not quite sure I understand your scenario completely. Every theme is made for a specific control and other controls cannot inherit it. Therefore, I am wondering how other controls can inherit your Outlook theme. Do you mean that the TabStrip does not look as in Outlook? Its default theme (ControlDefault theme) mimics Office 2007 Blue, so any additional details on your case will be welcome.
The theming of RadControls cannot be disabled. However, you can make a transparent theme for your RadTabStrip, so it will get the colors of the parent container (a form or a panel).
In order to make your transparent or semi-transparent theme, you should set an Alpha channel to the colors in the theme for the RadTabStrip's subelements. Generally, a color is defined by three integer numbers for the Red, Green and Blue colors. To set an Alpha channel, you should insert a forth integer number in front of these three numbers.
For example you have a color defined as 155, 155, 155 for the RGB standard. To see an Alpha channel of 100, you should set it as 100, 155, 155, 155.
I am attaching an example of a semi-transparent RadTabStrip theme. If you have additional questions, feel free to contact me.
Regards,
Nikolay
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
ANKIT
Top achievements
Rank 1
answered on 19 Aug 2017, 07:01 AM
hii
i want to create themes for my winforms.please guide me how can i start to make my project on themes.
0
Hello Sandeep,
Thank you for writing.
I would like to first point that this thread discusses the obsolete RadTabStrip control. As I understand you would like to build custom themes. In the future, please try and post your questions in the relevant section as well as try to keep the threads focused on a single topic.
Regarding your actual question, you can create custom themes using our Visual Style Builder tool. Please refer to the following sections of our documentation providing detailed information:
I hope this information is useful. Should you have further questions please do not hesitate to write back.
Regards,
Hristo
Progress Telerik
Thank you for writing.
I would like to first point that this thread discusses the obsolete RadTabStrip control. As I understand you would like to build custom themes. In the future, please try and post your questions in the relevant section as well as try to keep the threads focused on a single topic.
Regarding your actual question, you can create custom themes using our Visual Style Builder tool. Please refer to the following sections of our documentation providing detailed information:
- http://docs.telerik.com/devtools/winforms/themes/using-default-themes
- http://docs.telerik.com/devtools/winforms/tools/visual-style-builder/overview
- http://docs.telerik.com/devtools/winforms/tools/visual-style-builder/working-with-visual-style-builder/working-with-repository-items
I hope this information is useful. Should you have further questions please do not hesitate to write back.
Regards,
Hristo
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.