To determine if the application is running in Continuum mode, you need to check two things: DeviceFamily and UserInteractionMode .
public static bool IsInContinuum() { if (DeviceFamily() == DeviceFamilyType.Mobile && UIViewSettings.GetForCurrentView().UserInteractionMode == UserInteractionMode.Mouse) return true; else return false; }
Quote from this post :
"With Continuum," touch "will always return when your application is on the mobile device, and the mouse will always return when your application is on the connected display."
So, you need to check if the application is running in Continuum in the SizeChanged event.
source share