Top "Resourcedictionary" questions

Provides a hash table / dictionary implementation that contains resources - reusable objects (e.g. vector drawings, brushes, colors, control template, data templates etc.

ResourceDictionary in a separate assembly

I have resource dictionary files (MenuTemplate.xaml, ButtonTemplate.xaml, etc) that I want to use in multiple separate applications. I …

.net wpf xaml controltemplate resourcedictionary
Load WPF styles or other Static Resources from an external file or assembly

I have a few WPF applications and I want all my styles to be in a shared assembly instead of …

wpf xaml assemblies styles resourcedictionary
Skinning: Using a Color as StaticResource for another Color

I implemented skinning in my application. The application loads its Brushes.xaml resource dictionary which uses colors which reside in …

wpf colors skinning resourcedictionary
tag does not exist in XML namespace

This error seems to be posted all over the place but each one seems to have its own solution, none …

c# silverlight xaml resourcedictionary
Trouble referencing a Resource Dictionary that contains a Merged Dictionary

I have a library, CommonLibraryWpfThemes, with several Resource Dictionary XAML files in it. My Themes/Generic.xml file contains a …

wpf xaml themes resourcedictionary
Accessing ResourceDictionary from WPF UserControl

I'm trying to access a resource dictionary in a UserControl code-behind via C# and I'm having little success. Merged Dictionary: &…

c# wpf xaml resourcedictionary
Add ResourceDictionary to class library

I created a class library which is contained of WPF Windows and some user controls inherited from my c# classes …

c# wpf class-library resourcedictionary
WPF: Formatting a label

I have the following code for an Expander: <Expander Name="CompanyLinks" Header="{StaticResource companyLinksHeader}" FontSize="18" FontFamily="Calibri" FontWeight="Bold"&…

wpf fonts resourcedictionary
How to set a relative path/Uri in ResourceDictionary's source

I am trying to refer to a MergedDictionaries.SharedStyles project which has all Styles that has to be used allover …

wpf xaml resourcedictionary prism-4
Dynamically loading resource dictionary files to a wpf application gives an error

I am trying to add a xaml resource file dynamically using the statement, Application.Current.Resources.MergedDictionaries.Add(new ResourceDictionary() { …

c# .net wpf xaml resourcedictionary