title: Use System.Drawing.Color to draw a line in WPF
body: <p>How can I draw a line in XAML using a <code>System.Drawing.Color</code>? A solution without a converter would be nice.</p>
  
  <p>XAML:</p>
  
  <p><code>&lt;Line
      X1="10" Y1="10"
      X2="20" Y2="10"
      Stroke="{Binding Color}" StrokeThickness="4" /&gt;</code></p>
  
  <p>Code:</p>
  
  <pre><code>System.Drawing.Color Color = System.Drawing.Color.Black;
  </code></pre>