StrokeDashArray: 4,2 /StrokeDashOffset: 2

image_pdfimage_print


   
   

<Window x:Class="Workspace.DockExample"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Workspace" Width="640" Height="480">
    <Rectangle Grid.Row="3" Grid.Column="2" Width="150" Height="150"
               StrokeDashArray="4 2" StrokeDashOffset="2"
               Stroke="Black" StrokeThickness="3" Fill="Blue">
    </Rectangle>

</Window>