WindowPhone FlipView System.ArgumentException

我在WindowsPhone应用程序中使用FlipView时遇到问题。 我有一个带有FlipView的页面,它有ItemsSource绑定到ItemsGroup和SelectedItem绑定到CurrentItem。 FlipView的DataTemplate包含附加了属性Html的WebView,该属性Html绑定到CurrentItem的Html。 一切顺利,但应用程序不时与System.ArgumentException崩溃,我不知道什么是错的。

XAML:

                           

C#:

  public class NewsItem { public string Title { get; set; } public string Link { get; set; } public DateTime Published { get; set; } public string Html { get; set; } public string Image { get; set; } } 

错误:

参数不正确。 System.ArgumentException:值不在预期范围内。

我用我的自定义替换了FlipView的默认Templete,其中我删除了2.5点边框边距。 我不知道怎么做,但它确实有效。 也许它与进入边缘区域的指针相关联,因为从边缘滑动时发生了错误。