<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="8" StrokeEndLineCap="Round" StrokeStartLineCap="Round" StrokeLineJoin="Round" StrokeDashCap="Round" StrokeDashArray="10 2" StrokeDashOffset="10" Points="10,11 100,0 100,100 0,100 0,20 80,20 80,80 20,80, 120,40 60,410 60,60 40,60" /> </UniformGrid> </Window>