tags:

views:

9

answers:

1

In a ResourceDictionary, is there any way to specify an alias for a resource? For example,

<Color x:Key="BorderColor">#FF000000</Color>
<Color x:Key="AlternateBorderColor">{StaticResource BorderColor}</Color>

I don't really want another resource called "AlternateBorderColor", I would just like to be able to refer to the original resource by another name.

A: 

Does Redefine/alias a resource in WPF? at http://stackoverflow.com/questions/634069/redefine-alias-a-resource-in-wpf help you?

AMissico
This would work, if I were using WPF and not Silverlight. I don't think Silverlight has an equivalent class.Thanks.
mos