Windows phone 7 ArgumentException未处理(参数不正确)

Windows phone 7 ArgumentException未处理(参数不正确),windows-phone-7,c#-4.0,c#-3.0,unhandled-exception,Windows Phone 7,C# 4.0,C# 3.0,Unhandled Exception,当我触摸屏幕时,我在wp7应用程序中获得异常ArgumentException未处理(参数不正确)。我已经放置了所有断点,但不知道为什么会出现此异常?下面我将放置该异常的堆栈跟踪。请帮帮我 at MS.Internal.XcpImports.CheckHResult(UInt32 hr) at MS.Internal.XcpImports.UIElement_HitTestPoint(UIElement element, Point ptHit) at System.Windows.

当我触摸屏幕时,我在wp7应用程序中获得异常ArgumentException未处理(参数不正确)。我已经放置了所有断点,但不知道为什么会出现此异常?下面我将放置该异常的堆栈跟踪。请帮帮我

at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   at MS.Internal.XcpImports.UIElement_HitTestPoint(UIElement element, Point ptHit)
   at System.Windows.Media.VisualTreeHelper.FindElementsInHostCoordinates(Point intersectingPoint, UIElement subtree)
   at Microsoft.Phone.Controls.GestureListener.TouchStart()
   at Microsoft.Phone.Controls.GestureListener.OnTouchFrameReported(Object sender, TouchFrameEventArgs e)
   at System.Windows.Input.Touch.OnTouch(Object sender, TouchFrameEventArgs e)
   at MS.Internal.JoltHelper.RaiseEvent(IntPtr target, UInt32 eventId, IntPtr coreEventArgs, UInt32 eventArgsTypeIndex)

这就是Microshoft.Phone.Controls.Toolkit的问题。这是这个库中的一种bug。当我从xaml文件中删除所有手势代码时,上述异常就不会出现了。我不知道这背后的真正原因是什么。

这就是Microshoft.Phone.Controls.Toolkit的问题。这是这个库中的一种bug。当我从xaml文件中删除所有手势代码时,上述异常就不会出现了。我不知道这背后的实际原因。

请在问题中添加更多信息(应用程序类型、用户控件、代码、xaml等),提供的StackTrace不足以回答您的问题。请在问题中添加更多信息(应用程序类型、用户控件、代码、xaml等),提供的StackTrace不足以为您提供答案。