Compartilhar via


CoreWebView2Controller.ZoomFactorChanged Event

Definition

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 ZoomFactor property was modified, or due to the user manually modifying the zoom. When it is modified using the ZoomFactor property, 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.

Applies to

See also