I am using AppWindow (https://learn.microsoft.com/en-us/uwp/api/windows.ui.windowmanagement.appwindow) to create a second window for my UWP app. I need to detect when the user changes the location of this secondary window (i.e. she drags the window over the screen). Currently, I am listening to the following events:
- AppWindow.Changed
- UIElement.XamlRoot.Changed
which detect when the user resizes the window, but not when the window is simply moved (keeping exactly the same Width & Height).
Is there another event which I can listen to?
BTW, the same applies also for the old good Windows.UI.Xaml.Window: is there an event I can listen to for its movement (not resizing)?