Exemple #1
0
        public static void OnPointerWheelChanged(global::Uno.Platform.PointerEventArgs args)
        {
            object origin = null;

            origin = global::Uno.Application.Current.Window;

            if (MouseSource.PointerWheelChanged != null)
            {
                MouseSource.PointerWheelChanged(origin, args);
            }
        }
Exemple #2
0
        public static void OnPointerLeft(global::Uno.Platform.PointerEventArgs args)
        {
            object origin = null;

            origin = global::Uno.Application.Current.Window;
            MouseSource._hasPointerEntered = false;

            if (MouseSource.PointerLeft != null)
            {
                MouseSource.PointerLeft(origin, args);
            }
        }
Exemple #3
0
        public static void OnPointerMoved(global::Uno.Platform.PointerEventArgs args)
        {
            object origin = null;

            origin = global::Uno.Application.Current.Window;

            if (!MouseSource._hasPointerEntered)
            {
                MouseSource.OnPointerEntered(args);
            }

            if (MouseSource.PointerMoved != null)
            {
                MouseSource.PointerMoved(origin, args);
            }
        }