We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to bind view model navigation to CardTapped event and pass selected object

Thread ID:





142544 Feb 8,2019 05:21 PM UTC Feb 11,2019 11:53 AM UTC UWP 1
Tags: SfKanban
Asked On February 8, 2019 05:21 PM UTC

I am testing using the Kanban control to show all of my tasks but when the task card is clicked I need it to pass the selected object to the navigation service and route to the edit page. Using a GridView I was using the ItemClick event (ItemClick="{x:Bind ViewModel.GotoDetailsPage}") to route to the edit page like this public void GotoDetailsPage(object sender, ItemClickEventArgs e) => NavigationService.Navigate(typeof(Views.TaskDetailPage), (UserTask)e.ClickedItem), how can I do the same with the Kanban control.

Muneesh Kumar G [Syncfusion]
Replied On February 11, 2019 11:53 AM UTC

Hi Ed,  
Greetings, we have analyzed your requirement and you can achieve this by using CardTabbed event in SfKanban. In this event you can get selected card, column and index details.  
Code snippet 
   public void Kanban_CardTapped(object sender, KanbanTappedEventArgs e) 
Please let us know if you have any other queries.  
Muneesh Kumar G.  


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon