title: Does a Silverlight <Line> need Width and Height defined?
body: <p>It seems that a  won't be visible unless a height and width is specified.  Is this true?</p>
  
  <p>This seems rather tedious.  Couldn't the bounds of the line imply the correct width and height?</p>
  
  <pre><code>    &lt;Canvas Height="200" Width="200" HorizontalAlignment="Left" Background="Beige"&gt;
          &lt;!-- This is visible --&gt;
          &lt;Line X1="20" Y1="40" X2="70" Y2="90"
                Stroke="Black" StrokeThickness="4" Height="100" Width="100" /&gt;
  
          &lt;!-- This is not visible --&gt;
          &lt;Line X1="10" Y1="10" X2="50" Y2="50"
                Stroke="Black" StrokeThickness="4"/&gt;
      &lt;/Canvas&gt;
  </code></pre>
  
  <p>(I'm using Silverlight 3.)</p>