The simplest way to do this is to store them in the application's resource dictionary, either in markup (in the <Application.Resources>
element in app.xaml
) or by creating them in code at startup and adding them to the resource dictionary.
This allows you to do some pretty sophisticated stuff fairly easily, so long as you have a consistent application-wide naming convention for resource keys. For instance, it's easy to implement simple skinning in an application by building resource dictionaries in XAML files and then merging a specific dictionary into the application's dictionary at startup.