简体   繁体   English

无法在Windows Phone 8.1中的FrayxRulez / SwipeListView控件中导航页面

[英]Unable to navigate the page in FrayxRulez/SwipeListView control in windows phone 8.1

I am working with windows phone 8.1 c# application . 我正在使用Windows Phone 8.1 c#应用程序。 I want swpe to delete control so I have used FrayxRulez/SwipeListView it working fine but when i used SwipeListView_ItemClick event it doesn't navidate to another page . 我想swpe删除控件所以我使用FrayxRulez / SwipeListView它工作正常,但当我使用SwipeListView_ItemClick事件时,它不会导航到另一个页面。

private async void SwipeListView_ItemClick(object sender, ItemClickEventArgs e)
{
    var item = e.ClickedItem as EmailObject;
    Frame.Navigate(typeof(TestPage));
     // await new MessageDialog(item.Body, "Clicked Item").ShowAsync();
}

It caused crashed . 它引起了崩溃。 Please help me out for that . 请帮帮我。

I've just tried and it works with a new XAML BlankPage. 我刚试过,它适用于新的XAML BlankPage。 So your crashed is caused by something in your TestPage. 因此,您的崩溃是由您的TestPage中的某些内容引起的。 Check exceptions in Debug mode when you navigate in TestPage, or use some breakpoints. 在TestPage中导航时检查调试模式中的异常,或使用某些断点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM