Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

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