The following doesn't work, runtime tells me it cannot convert #FFFFFFAE to a color.
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Color x:Key="ItemHeaderBack" >#FFFFFFAE</Color>
</ResourceDictionary>
I tried using your exact definition like this and it worked. How do you use it?
<Canvas.Background>
<SolidColorBrush Color="{StaticResource ItemHeaderBack}"/>
</Canvas.Background>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With