Drag-dropping files into WebView2
I´ve got a WinForms App where a form contains a WebView2 component as big as the form itself. The code below works fine on the form itself, since the WebView2 element lays on top of the form I´m not able to use the drag-drop functionality on the form and I have to use the WebView2´s one. But it doesnt work the way stated below.
How to restrict WebView2 from downloading content?
I have a WinForms2 C# application with a basic WebView2 component along with a textBox (to be used as a search bar). I want to restrict the webView2 from being able to download content. For example, if I go to pixabay.com and try to download an image, I want it to stop the download and restrict that image from being downloaded.
Is there a better way to wait for the WebView2 window to fully load than Task.Delay()?
I need to show an embedded Microsoft Power BI report in the WebView2 window of my windows forms app, and hide the “filter” panel on the side for aesthetic purposes.
how to make c# windows forms Webview2 zoom and still in the same location?
The issue is zooming the webview2 in win. forms c# causes changing the location we were
How can I jump automatically to the next PDF-page by using corewebview2 in WinForm
I did a WinForm application to view PDF files. I use WebView2 of Microsoft and CoreWebView2.Navigate(pdfFile). The PDF – file ist displayed fine, but I have problems if the PDF file has several pages. It shows me the first page and I get scrollbars to go manually to the next pages which works fine too. But I need to diplay one page after the other automatically. Let’s say always after 30 seconds I must display the next page. Until now I didn’t find a way to do it. I hope that here is someone who knows how to do it!
What is also disturbing me that I see scrollbars, if it’s a multipage PDF-file.