Re: Outlined Text
Posted: 06 Mar 2019, 23:50
Yes, you can use a setter like you will do for other properties:
Hope this helps.
Code: Select all
<Style x:Key="StrokedStyle" TargetType="{x:Type TextBlock}">
<Setter Property="noesis:Text.Stroke" Value="Red" />
<Setter Property="noesis:Text.StrokeThickness" Value="1" />
</Style>
...
<TextBlock Text="Hello World" Style="{StaticResource StrokedStyle}" />