Custom styling custom controls

3 posts, 1 answers
  1. Edo Cof
    Edo Cof avatar
    47 posts
    Member since:
    Feb 2006

    Posted 02 Apr 2010 Link to this post

    I set StyleManager.ApplicationTheme to office_blue. It all works as expected.
    I even create my own control and call StyleManager.SetTheme(this, StyleManager.ApplicationTheme) and all my controls (button, TextBox, ... ) everything is as it should be.

    But i want more:
    I want to paint stackpanel or Border or anything else.

    For example. I want to style Border as it is styled RadToolBar. (image 1)
    Or i want that Button is styled as RadButton.
  2. Edo Cof
    Edo Cof avatar
    47 posts
    Member since:
    Feb 2006

    Posted 02 Apr 2010 Link to this post

    Button over RadButton.

    (If i edit my previous post, the second attachment is not added, so another post)
  3. Answer
    Kalin Milanov
    Admin
    Kalin Milanov avatar
    447 posts

    Posted 05 Apr 2010 Link to this post

    Hello Matjaz Cof,

    As you have already seen we are providing styling to some of the standard controls provided my Microsoft. As custom controls may greatly vary it is virtually impossible for us to provide styles and themes for your custom controls.

    As for making your control look like ours I would suggest look at the XAML of each control / control part and extract from there whatever necessary to make your controls look the same way. You can find the XAMLs for all themes in your telerik installation in the Themes folder.

    Regards,
    Kalin Milanov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top