diff --git a/src/Uno.UI/UI/Xaml/UIElement.Pointers.cs b/src/Uno.UI/UI/Xaml/UIElement.Pointers.cs index 05a08a6ec8cf..5ab2eb9d6fa6 100644 --- a/src/Uno.UI/UI/Xaml/UIElement.Pointers.cs +++ b/src/Uno.UI/UI/Xaml/UIElement.Pointers.cs @@ -908,7 +908,7 @@ partial void PrepareManagedPointerEventBubbling(RoutedEvent routedEvent, ref Rou // ptArgs.Pointer.IsInRange && ptArgs.IsPointCoordinatesOver(this) (and probably share it on all platforms). var isOver = ptArgs.Pointer.IsInRange && (ptArgs.Pointer.PointerDeviceType, ptArgs.Pointer.IsInContact) switch { - (PointerDeviceType.Touch, false) => false, + (global::Microsoft.UI.Input.PointerDeviceType.Touch, false) => false, _ => ptArgs.IsPointCoordinatesOver(this), }; #endif