title: Implementing ToArgb()
body: <p>System.Drawing.Color has a ToArgb() method to return the Int representation of the color.<br>
  In Silverlight, I think we have to use System.Windows.Media.Color.  It has A, R, G, B members, but no method to return a single value.<br>
  How can I implement ToArgb()?  In System.Drawing.Color, ToArgb() consists of  </p>
  
  <pre><code>return (int) this.Value;  
  </code></pre>
  
  <p>System.Windows.Media.Color has a FromArgb(byte A, byte R, byte G, byte B) method.  How do I decompose the Int returned by ToArgb() to use with FromArgb()?  </p>
  
  <p>Thanks for any pointers...</p>