示例#1
0
        public static void ReleasePointer(this IEventHandler handler, int pointerId)
        {
            PointerDispatchState expr_07 = PointerCaptureHelper.GetStateFor(handler);

            if (expr_07 != null)
            {
                expr_07.ReleasePointer(handler, pointerId);
            }
        }
示例#2
0
        public static bool HasPointerCapture(this IEventHandler handler, int pointerId)
        {
            PointerDispatchState expr_07 = PointerCaptureHelper.GetStateFor(handler);

            return(expr_07 != null && expr_07.HasPointerCapture(handler, pointerId));
        }