StrokeDashArray 4,2 / StrokeDashOffset: 0
<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="0" Width="150" Height="150"
StrokeDashArray="4 2" StrokeDashOffset="0"
Stroke="Black" StrokeThickness="3" Fill="Blue">
</Rectangle>
</Window>
Related examples in the same category