Microsoft.Toolkit.Win32 icon indicating copy to clipboard operation
Microsoft.Toolkit.Win32 copied to clipboard

Need to Zoom in WPF WebView

Open meshawn opened this issue 7 years ago • 3 comments

Feature request (UserVoice request: )

Current behavior

Unable to zoom

Expected behavior

Able to zoom

Minimal reproduction of the problem with instructions

I didn't create a user voice request for this because I'm not sure if there is already a way to do this. I am able to do this on win7/8 with WebViewCompatible by casting/using IE COM apis.

Environment

Nuget Package(s): Microsoft.Toolkit.Wpf.UI.Controls.WebView

Package Version(s): 5.0.1

Windows 10 Build Number:

  • [ ] Fall Creators Update (16299)
  • [ ] April 2018 Update (17134)
  • [ ] October 2018 Update (17763)
  • [X] Insider Build (build number: (18305.1003)

App min and target version:

  • [ ] Fall Creators Update (16299)
  • [X] April 2018 Update (17134)
  • [ ] October 2018 Update (17763)
  • [ ] Insider Build (xxxxx)

Device form factor:

  • [X] Desktop
  • [ ] Mobile
  • [ ] Xbox
  • [ ] Surface Hub
  • [ ] IoT

Visual Studio

  • [X] 2017 (version: )
  • [ ] 2017 Preview (version: )

meshawn avatar Dec 23 '18 08:12 meshawn

ping @joshholmes

nmetulev avatar Jan 08 '19 20:01 nmetulev

I agree, need zoom ability in the same manner as in the full MS Edge app. Presumably the Windows.Web.UI.Interop.WebViewControl.Scale property should be used to implement a zoom in/out feature the same as in the full MS Edge app, but unfortunately this Scale property exists only in WebViewControl and not in Microsoft.Toolkit.Wpf.UI.Controls.WebView 6.0.0-preview7.

Considering that WPF WebView uses WebViewControl internally, is it possible to make the WebViewControl.Scale property available in Microsoft.Toolkit.Wpf.UI.Controls.WebView ?

To clarify, a zoom feature should change the size of the webpage/content inside the WebView but not change the size of the WebView itself.

verelpode avatar Aug 04 '19 02:08 verelpode

I'd like this feature as well, what is it's state currently?

atiyka avatar Jan 19 '21 10:01 atiyka