Share via


WebView2.OnWindowPositionChanged(Rect) Method

Definition

This is overridden from HwndHost and called when our control's location has changed. The HwndHost takes care of updating the HWND we created. What we need to do is move our CoreWebView2 to match the new location.

protected override void OnWindowPositionChanged (System.Windows.Rect rcBoundingBox);
override this.OnWindowPositionChanged : System.Windows.Rect -> unit
Protected Overrides Sub OnWindowPositionChanged (rcBoundingBox As Rect)

Parameters

rcBoundingBox
Rect

Applies to