In Windows Store app, we need an event which is occurred when the device orientation is changed. I've found two events, anybody knows what's the difference in between them?
Windows.UI.Core.CoreWindow.GetForCurrentThread().SizeChanged
Windows.UI.Xaml.Window.Current.SizeChanged
From msdn :
A Window object is just surfacing information from CoreWindow, which in turn is referencing the window created by the system.
CoreWindow
is just an object that provides input events for Window
so the two events are referencing the same system event.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With