Recommended

Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 5 results for MergedResourceDictionaries.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Order by Publish Date   Ascending Title   Rating  

  • 0 comments  /  posted by  Silverlight Show  on  Mar 04, 2010 (3 months ago)
    This article of SilverLaw describes how to manage different colors and color themes for styles using merged resource dictionaries and how to change from one color or color theme to another at design time.

    Given you have a set of styled controls and each control should have the same look and feel which you defined through a set of colors using in the styles. If you have a color set with a lot of different colors and a large amount of controls and want to change a single color or brush you have to walk all the way through every single control style and change each color values by hand. This becomes overexcited if you want to change the whole color theme.



  • 1 comments  /  posted by  Silverlight Show  on  Dec 23, 2009 (6 months ago)
    In this post Gill Cleeren demonstrates one Silverlight 3 feature that’s most helpful in real world projects: merged resource dictionaries.Image

    Silverlight 3 added support for merged dictionaries. Basically, using these, we can split resources over several files, dictionaries. Using them though is nothing different than using resources located in App.xaml or Resources of the current page/control.

  • Using Merged ResourceDictionaries in Silverlight Themes

    0 comments  /  posted by  Silverlight Show  on  Jul 30, 2009 (11 months ago)

    Andrew Marshall found that merged dictionaries are not supported by the Silverlight Toolkit’s Themes feature and decided to find a solution and give it to you.

    Silverlight 3.0 moved its featureset closer to that of WPF by adding support for merged Resource Dictionaries and Style Inheritance. Without these features, developing custom templates and styles for Silverlight controls can become a bit of a copy-and-paste nightmare. Since I have used the implicit theming feature built into the Silverlight Toolkit to make my Silverlight controls fit into the overall look and feel of this site, I was hoping that these features would enable me to refactor my themes developed for Silverlight 2.0 to be a bit less unwieldy.

  • 0 comments  /  posted by  Silverlight Show  on  Jun 29, 2009 (more than a year ago)

    Andrej Tozon is continuing with his series "Countdown to Silverlight 3" and now publishes Part 2 - Setting styles and Part 3 - Merged resource dictionaries. If you have missed the first part, here it is - "Countdown to Silverlight 3 #1: Out of Browser applications".

    With Silverlight 3 knocking on the door (July 10?) it’s time to offload my Silverlight 3 examples. Not that they would show anything new (since SL3 Beta got out, new features had been demoed by various people to the death), it’s just another perspective or a way to go public with a sample code that’s been piling up on my desktop since the Beta was released. Anyway, this will be in a form of short posts with provided test page and sample code.

  • 12 comments  /  posted by  Emil Stoychev  on  Mar 23, 2009 (more than a year ago)

    Merged Resource Dictionaries provide a way to define and split resources into separate files. By locating application resources in external file we can then reuse them between applications. This feature can be helpful in custom control development, but not only.

    In Silverlight 2 resources cannot be factored into separate files and that leads to large App.xaml file holding application-wide shared resources. The same problem exists while developing custom controls. All default style keys must be specified in Themes/Generic.xaml which again leads to very large file.


Help us make SilverlightShow even better. Whether you'd like to suggest a change in the structure, content organization, section layout or any other aspect of SilverlightShow appearance - we'd love to hear from you! Need material (article, tutorial, or other) on a specific topic? Let us know and SilverlightShow content authors will work to have that prepared for you. (hide this)