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.

C#
protected void WebView2CompositionControl_SizeChanged (object sender, System.Windows.SizeChangedEventArgs e);

Parameters

sender
Object

Applies to

Produkt Verzie
WebView2 .NET Prerelease 1.0.2646, 1.0.2730, 1.0.2783, 1.0.2839