<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="Microsoft.Samples.Graphics.RectangleExample" WindowTitle="Example"> <Canvas> <Path Data="M22,20 77,0.4" Stroke="Purple" StrokeDashArray="2,1" StrokeThickness="1" Canvas.Top="30" /> </Canvas> </Page>