Skip to content

Can Webview2(Microsoft.UI.Xaml.Controls.WebView2) expose ZoomFactor property? #24593

@ScofieldOY

Description

@ScofieldOY

Description

Windows
We used Webview2 in Microsoft.UI.Xaml.Controls.WebView2, but we are looking forward to using ZoomFactor property like CoreWebView2Controller.ZoomFactor property, because this property only in WebView2 .NET 1.0.2651.64. Is that possible to expose this property in Microsoft.UI.Xaml.Controls.WebView2 instead of changing corewebview2?

https://learn.microsoft.com/en-us/dotnet/api/microsoft.web.webview2.core.corewebview2controller?view=webview2-dotnet-1.0.2651.64
We used: https://learn.microsoft.com/en-us/dotnet/api/Microsoft.UI.Xaml.Controls.WebView2

Public API Changes

n/a

Intended Use-Case

we want to support browser zoom in/out in Microsoft.UI.Xaml.Controls.WebView2, instead of inject js code.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions