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 L 200,70" />
   </Canvas> 


</Window>