Wavy underlines in WinRT

60 Views Asked by At

In other Xaml frameworks, you can add wavy underlines like in the following link:

Wavy underlines in a FlowDocument

However these no longer work in the Windows Apps Xaml. Are there any alternatives?

2

There are 2 best solutions below

0
On

You can use XAML's existing class PathGeometry to draw wavy lines. Or, if you choose to use D2D, you can use ID2D1GeometrySink::AddBezier().

0
On

Using Direct2D with DirectWrite is one option.