LineGeometry
<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"> <Path Stroke="Black" StrokeThickness="1"> <Path.Data> <LineGeometry StartPoint="10,10" EndPoint="50,30" /> </Path.Data> </Path> </Window>