Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

How to create bindable event handler in custom view cell

$
0
0

Hi,
I have created native ViewCellRenderer for view cell that is being used in list view For UWP by following Microsoft article Customizing a ViewCell.
The article explains how to create bindable properties for a view cell that can be displayed using the native controls. What I want is to be able to create a bindable event handler so that I can bind this event with native UWP code say Tapped event of Textbock.

Example- On the tapped event of Textblock 'Name' i want to navigate to some another page. The navigation logic is written inside the view model for the page where I am using the list view with custom view cell. How can I create a bindable event handler in custom view cell so that I could bind it with the Tapped event of native code.


Viewing all articles
Browse latest Browse all 77050

Trending Articles