You could create a Line as a Path:
<Path Stroke="Black" StrokeThickness="1">
<Path.Data>
<LineGeometry x:Name="line" StartPoint="0,0" EndPoint="100,100"/>
</Path.Data>
</Path>
Now you could animate the StartPoint and EndPoint properties of the LineGeometry.