staticresource - Is it possible to set a static resource to the same value as another in XAML? -
is possible set static resource value of static resource? possible reference static resource type of static resource should possible, can't find out how. i.e this:
<!-- first value --> <color x:key="mybluecolor">#ff7db3b6</color> <!-- works --> <solidcolorbrush x:key="mybluecolorbrush" color="{staticresource mybluecolor}"/> <!-- how do this? --> <color x:key="myothernameforbluecolor">{staticresource bluecolor}</color>
you can this
<color x:key="mybluecolor">#ff7db3b6</color> <staticresource x:key="myothernameforbluecolor" resourcekey="mybluecolor" />
Comments
Post a Comment