共用方式為


CoreWebView2CompositionController.NonClientRegionChanged Event

Definition

This event is raised when elements on the page with "app-region" CSS property values corresponding to non-client regions change. Use the RegionKind to see the kind of non-client region that changed.

public event EventHandler<Microsoft.Web.WebView2.Core.CoreWebView2NonClientRegionChangedEventArgs> NonClientRegionChanged;
member this.NonClientRegionChanged : EventHandler<Microsoft.Web.WebView2.Core.CoreWebView2NonClientRegionChangedEventArgs> 
Public Custom Event NonClientRegionChanged As EventHandler(Of CoreWebView2NonClientRegionChangedEventArgs) 

Event Type

Applies to