How to create transparnet theme for Winform Tabstrip

2 posts, 0 answers
  1. Sandeep
    Sandeep avatar
    6 posts
    Member since:
    Jul 2008

    Posted 01 Sep 2008 Link to this post

    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
  2. Nikolay
    Admin
    Nikolay avatar
    1804 posts

    Posted 03 Sep 2008 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top