WebView2CompositionControl.WebView2CompositionControl_SizeChanged Method
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.
This is an event handler for WPF control's SizeChanged event. We use CoreWebView2Controller.NotifyParentWindowPositionChanged to notify our browser our size and relative location has changed.
protected void WebView2CompositionControl_SizeChanged (object sender, System.Windows.SizeChangedEventArgs e);
member this.WebView2CompositionControl_SizeChanged : obj * System.Windows.SizeChangedEventArgs -> unit
Protected Sub WebView2CompositionControl_SizeChanged (sender As Object, e As SizeChangedEventArgs)
Parameters
- sender
- Object