예제 #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);
            }
        }
예제 #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);
            }
        }
예제 #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);
            }
        }