How to wait for WebViewBrush.Redraw() to finish (UWP printing)?
问题 I have a basic UWP app with an embedded WebView presenting a rather large HTML document (up to 500 letter-sized printed pages). I'd like to add support for printing that HTML document. Here is my approach: To support pagination, I generate a second HTML document broken into "pages" by using a <div style="height:100vh"> for each "page", up to 500 of these. I load that "paginated" HTML into a second, hidden WebView on the XAML page that I resize to fit exactly one page based on the user