title: How to render offscreen content with RenderTargetBitmap in UWP?
body: <p>I'm trying to render the contents of a <code>UserControl</code> to frames the create a video in 1080p, so I created a set the size to my control accordingly:</p>
  
  <pre><code>RenderControl.Width = 1920;
  RenderControl.Height = 1080;
  </code></pre>
  
  <p>After setting the size, I execute this code:</p>
  
  <pre><code>var rendertargetBitmap = new RenderTargetBitmap();
  await rendertargetBitmap.RenderAsync(RenderControl);
  </code></pre>
  
  <p>The problem is that <strong>this will only render the contents that are onscreen</strong>. I want my contents to be captured even in they're offscreen. </p>
  
  <p>How can I do it? This limitation is really inconvenient. I cannot force users to maximize (or resize) the hosting Window to render a video. It feels really hacky.</p>