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