How can I draw a dashed Line in Windows Store Apps (XAML) ?
Use the StrokeDashArray property. For example, the following XAML produces the line in the image below it:
<Line Stroke="Red" X1="0" X2="400" Y1="0" Y2="400"
StrokeThickness="9" StrokeDashArray="3,5" StrokeDashCap="Round" />
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