You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was terribly upset that Carousel, ResponsiveGridView controls don't provide ItemClick event. It give us ItemClickCommand, but there is no need in it, because it I don't know what item was clicked. Will ItemClick event be available in near future?
The text was updated successfully, but these errors were encountered:
The controls you mentioned use the ICommand approach instead ItemClick approach. If you want to handle the item click event you have to expose a ICommand property in your viewModel. You can use the RelayCommand implementation that gives you the clicked item. For example:
public RelayCommand<ItemViewModel> ItemClickCommand
{
get
{
return new RelayCommand<ItemViewModel>(
(item) =>
{
// do whatever with your item
});
}
}
I was terribly upset that Carousel, ResponsiveGridView controls don't provide ItemClick event. It give us ItemClickCommand, but there is no need in it, because it I don't know what item was clicked. Will
ItemClick event
be available in near future?The text was updated successfully, but these errors were encountered: