<Window x:Class="WpfApplication1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Fun with Panels!" Height="313" Width="532">
<Canvas>
<Line X1="30" Y1="30" X2="180" Y2="30" Stroke="Blue"
StrokeThickness="2" />
<Path Stroke="Blue" StrokeThickness="2">
<Path.Data>
<LineGeometry StartPoint="30 30" EndPoint="180 30" />
</Path.Data>
</Path>
</Canvas>
</Window>
|