Creating a style does not generate resources

2 posts, 1 answers
  1. Paul
    Paul avatar
    105 posts
    Member since:
    Jun 2010

    Posted 01 Mar 2012 Link to this post

    From this page: 

    It says that if I generate a style, I should get those resources at the bottom (i.e. HeaderBackground).  This never happens.  I get a style, but I can't change the background of the header.  Basically I do not want any of the colors that are defaulted.  I just want to specify new colors overriding ALL that are there.

    Has anyone else gotten that to work?
  2. Answer
    Dani avatar
    848 posts

    Posted 05 Mar 2012 Link to this post

    Hi Paul,

    Currently Expression Blend will generate the styles with the brushes and resources inline. If you wish to have all resource brushes separately in your resource dictionary, you can use the one from the Themes_WPF solution shipped with the suite. Choose the one that corresponds to the theme you have chosen as a base for your customizations. I attach here a copy of the default Office Black theme for RadDateTimePicker.

    In any case, you will need to modify or override each brush manually. You can modify the existing ones, or replace them with your own, but still you will need to do that for one brush at a time.

    Hope this helps.

    Kind regards,
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top