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.

Using system types in XAML as resources

I have encountered a situation where it would be very useful to specify a floating point value directly in XAML …

wpf xaml resourcedictionary staticresource mscorlib
Split one big XAML in number of Sub-XAML files

In my WPF4 Desktop-based application there is a big block with sidebar menu that repeats in each window and takes …

wpf xaml user-controls code-reuse resourcedictionary
accessing a resource dictionary in code wpf

The same line of code in the same assembly works for one test fixture but not another. Here is the …

wpf uri resourcedictionary
how to add event handler to control in datatemplate in resource dictionary

I have a resource dictionary: <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.…

wpf event-handling datatemplate resourcedictionary
Specify width/height as resource in WPF

Is there a way in WPF to specify a width/height as a resource, so that it can be reused …

wpf resources styles resourcedictionary
How to import one ResourceDictionary into other, in WPF?

Is it possible to add one resource dictionary into other one?

c# .net wpf xaml resourcedictionary
pack://application:,,,/ResourceFile.xaml Never Works

I have never been able to get this format of reference a Resource Dictionary to work. What am I missing. …

.net wpf resourcedictionary
WPF Controls as StaticResource in Resource Dictionary, used in multiple WPF Windows?

I have a Button control as a resource in Resource Dictionary as below: <!--ButtonResources.xaml file--> <ResourceDictionary …

wpf xaml .net-4.0 resourcedictionary staticresource
Referencing a resource in a ResourceDictionary from a different ResourceDictionary in Silverlight

I have the following set of code in my App.xaml: <Application.Resources> <ResourceDictionary> <ResourceDictionary.…

c# silverlight xaml resourcedictionary mergeddictionaries
How can I add a ResourceDictionary defined in a subfolder to App.xaml?

All of the code samples I've found so far reference a Resource Dictionary that's not in a project subfolder (the …

wpf xaml resourcedictionary app.xaml