Mega Code Archive

 
Categories / C# / WPF
 

Round StrokeDashCap Polyline

<Window x:Class="WpfApplication1.Window1"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     Title="WPF" Height="300" Width="400">     <UniformGrid Columns="3" HorizontalAlignment="Center" VerticalAlignment="Center">         <Polyline Margin="10" Stroke="Black" StrokeThickness="5" StrokeDashArray="5 2 2 2" StrokeDashCap="Round" Points="1,0 100,0 100,100 0,100 0,20 80,20 80,80 210,80, 120,40 60,40 60,60 140,60" />     </UniformGrid> </Window>