Vertical Line with Path
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="SDKSample.SampleViewer" Title=" Examples" > <Canvas> <Path Stroke="Black" StrokeThickness="1" Data="M 10,50 V 200" /> </Canvas> </Window>