Label and TextBox

4 posts, 0 answers
  1. stevesuk
    stevesuk avatar
    6 posts
    Member since:
    Jan 2007

    Posted 27 Jul 2008 Link to this post

    I can themeĀ PanelBar ok.

    .... but how ever hard I try I can't theme a label or textbox.

    Using individual "Edit UI Elements' on each control works ok but not when I edit a theme and apply that theme to these controls.

    Regards,
    Steve.
  2. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 28 Jul 2008 Link to this post

    Hi stevesuk,

    RadTextBox and RadLabel have only one default theme.You can create your own themes for these controls by using the Visual Style Builder and then apply these themes to your controls.

    You can take a look at the following movies which demonstrates how to use the theme builder:
    http://www.telerik.com/support/videos/preview/b221i-cd-b221c-kcd.aspx

    http://www.telerik.com/support/videos/preview/b221i-ce-b221c-kcd.aspx

    If you have any additional questions please write me back.

    Regards,
    Boyko Markov
    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
  4. stevesuk
    stevesuk avatar
    6 posts
    Member since:
    Jan 2007

    Posted 28 Jul 2008 Link to this post

    Boyko,

    I know how to do this in the VSB.

    .... however, when I save the theme the changes are not applied to Label or TextBox (whereas PanelBar changes are ... so I know the theme is being applied)

    Steve.
  5. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 31 Jul 2008 Link to this post

    Hello stevesuk,

    Please find attached a project which demonstrates using custom themes for RadTextBox and RadLabel. You may not be able to observe the themes at design-time at first, but here is how you should workaround the issue:
    1. With the Form's Design mode closed, open the code editor of the form.
    2. Press F7 to open the Design mode.
    3. Now you will be able to see the themes applied at design-time.

    Generally, when you are making your own project with custom themes, you will not be able to observe the theme for RadTextBox at design-time at first. However, it will be correctly applied at runtime. To be able to see it applied in the design-time as well, close and reopen the Visual Studio with the corresponding solution.

    If you have additional questions, feel free to contact me.

    Greetings,
    Nikolay
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top