public static void ReleasePointer(this IEventHandler handler, int pointerId) { PointerDispatchState expr_07 = PointerCaptureHelper.GetStateFor(handler); if (expr_07 != null) { expr_07.ReleasePointer(handler, pointerId); } }
public static bool HasPointerCapture(this IEventHandler handler, int pointerId) { PointerDispatchState expr_07 = PointerCaptureHelper.GetStateFor(handler); return(expr_07 != null && expr_07.HasPointerCapture(handler, pointerId)); }