User avatar
sfernandez
Site Admin
Posts: 2997
Joined: 22 Dec 2011, 19:20

Re: Outlined Text

06 Mar 2019, 23:50

Yes, you can use a setter like you will do for other properties:
<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}" />
Hope this helps.

Who is online

Users browsing this forum: Google [Bot] and 15 guests