Sumodh S
Sumodh S

Reputation: 741

Scroll a web view programmatically

Is there any way in which I can programmatically scroll a webview control in a UWP app?

It should work like the page down functionality in a web browser. Which will automatically scroll to next page of the document displayed.

Upvotes: 1

Views: 308

Answers (1)

khamitimur
khamitimur

Reputation: 1088

You can inject JS script to page HTML and then run it.

WebView.InvokeScriptAsync("eval", new string[] { 'your script here' });

Upvotes: 1

Related Questions