WebView2.OnWindowPositionChanged(Rect) 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 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