Remember that DynamicResource is not available in Silverlight; it is only in WPF (Silverlight only has StaticResource).
Since you tagged your question with both Silverlight and WPF, I suspect you might be looking for a solution that works in both. If so, you probably want to use data binding instead of resources, since you need to update the property in response to the changes.
Keithmahoney
source share