CoreWebView2Controller.ZoomFactorChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
ZoomFactorChanged is raised when the ZoomFactor property changes.
public event EventHandler<object> ZoomFactorChanged;
member this.ZoomFactorChanged : EventHandler<obj>
Public Custom Event ZoomFactorChanged As EventHandler(Of Object)
Event Type
Remarks
The event may be raised because the user manually modified the zoom, or because the ZoomFactor property was set to a value outside the supported zoom factor range and normalized by WebView. When it is modified using the ZoomFactor property to an in-range value, the internal zoom factor is updated immediately and no ZoomFactorChanged event is raised. WebView associates the last used zoom factor for each site. It is possible for the zoom factor to change when navigating to a different page. When the zoom factor changes due to a navigation change, the ZoomFactorChanged event is raised right after the ContentLoading event.