Dash Pattern "1 2"
<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>
<Polyline Stroke="Blue" StrokeThickness="10" StrokeDashArray="1 2"
Points="10,30 60,0 90,40 120,10 350,10" SnapsToDevicePixels="True">
</Polyline>
<TextBlock Grid.Column="1" VerticalAlignment="Center">Dash Pattern "1 2"</TextBlock>
</Canvas>
</Page>
Related examples in the same category