title: Get a Bitmap from a WPF application window?
body: <p>The Winforms System.Windows.Forms.Control class has an instance method "DrawToBitmap" which I think is very useful in a variety of circumstances.  I'm wondering if there's an equivalent way of getting a System.Drawing.Bitmap from a WPF application?  </p>
  
  <p>I realize I could do some P/Invoke stuff to just get the application window, however I don't like this because it doesn't accomodate the 64bit transition very well, and doesn't let me render sub-controls only, as DrawToBitmap does.</p>
  
  <p>Thanks,
  Richard</p>