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.

What is the easiest way to share resources between UserControls in a WPF User Control library?

There are a WPF User Control library and two (or more) User Controls in it. I need to use the …

wpf user-controls resourcedictionary
Animate button background color in XAML

I new to WPF and XAML, so I have ResourceDictionary (one button for now): <ResourceDictionary xmlns="http://schemas.microsoft.…

c# wpf xaml resourcedictionary wpf-animation
Is it possible to share a ResourceDictionary file between multiple projects?

If I have a ResourceDictionary in one project, is it possible to create another project that uses resources defined in …

c# wpf xaml resourcedictionary
Change the value of a wpf static resource

How can i change the value of a WPF static resource at runtime? I have the following resources <UserControl.…

c# wpf resourcedictionary
How to point one resource (a SolidColorBrush) at another

I set up a load of SolidColorBrush and LinearGradientBrush resources in a ResourceDictionary. I used these as I was restyling …

wpf resources styles resourcedictionary
Adding a static object to a resource dictionary

I have a class which is referenced in multiple views, but I would like there to be only one instance …

wpf mvvm resourcedictionary
Set Style for user control

I am trying to set a style for my user control. The UserControl is in a project "Controls" and the …

wpf user-controls styles resourcedictionary dynamicresource
Memory leak when using SharedResourceDictionary

if you worked on some larger wpf applications you might be familiar with this. Because ResourceDictionaries are always instantiated, everytime …

wpf memory-leaks resourcedictionary
how to use a converter inside a ResourceDictionary

I have a converter thats works great when I use it as StaticResource on my Window as follows <UserControl.…

c# wpf xaml resourcedictionary staticresource
How to use ResourceDictionary as StaticResource in Windows Phone 8

I have a Windows Phone 7 app which I'm trying to create a Windows Phone 8 version of it. In the app …

xaml windows-phone-8 resourcedictionary valueconverter