Hi Guys,
I'm having issues with Styles in a ResourceDictionary. I have a Basic style that is applied for an interface and works correctly, I'm then trying to extend this style for a CustomLabel (that inherits from the interface). The extended style is applied correctly but the original basic style seems to be lost. I'm wondering if there's anything I'm missing here?
<Style x:Key="BasicStyle" TargetType="controls:IMyInterface">
<Setter Property="Label.FontFamily" Value="Arial" />
<Setter Property="Label.FontSize" Value="32" />
<Setter Property="Label.FontAttributes" Value="Bold" />
</Style>
<Style x:Key="ExtendedStyle" TargetType="controls:MyLabel" BaseResourceKey="BasicStyle">
<Setter Property="Text" Value="TEST" />
<Setter Property="TextColor" Value="Red" />
</Style>
Thanks in advance,
Paul