Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Blazor Hybrid window move event?

$
0
0

I've been trying to find how to register the move event of any of the windows types in a blazor hybrid app.

All of these have a SizeChanged event or similarly named, but none of them something like Position/LocationChanged event / OnMove/d, etc.

Microsoft.Maui.Controls.WindowMicrosoft.UI.Windowing.AppWindowMicrosoft.UI.Windowing.OverlappedPresenter

#if WINDOWSSo, is there a way to detect the window movement? Even if we need to stoop low, pun intended.#endif

WebView2 should support this, as the appWindow of Tauri does have an onMoved event. Or I suppose it comes from WebView2.

This has been corrected; otherwise it would have been super useful:https://github.com/dotnet/maui/issues/17991


Viewing all articles
Browse latest Browse all 4839

Trending Articles