Hello, welcome to Microsoft Q&A,
CoreWindow.SizeChanged is not supported by the language
CoreWindow.SizeChanged is under Windows.UI.Core namespace that available in UWP platform. Please make sure your app is uwp app, and you need get CoreWindow with Window.Current.CoreWindow
public MainPage()
{
this.InitializeComponent();
Window.Current.CoreWindow.SizeChanged += CoreWindow_SizeChanged;
}
private void CoreWindow_SizeChanged(Windows.UI.Core.CoreWindow sender, Windows.UI.Core.WindowSizeChangedEventArgs args)
{
}
Thanks
Nico Zhu