Closed mashabek closed 8 years ago
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
public RelayCommand<ItemViewModel> ItemClickCommand
{
get
{
return new RelayCommand<ItemViewModel>(
(item) =>
{
// do whatever with your item
});
}
}
That's great! I thought there is no CommandParameter, because Carousel provide only Command, but it seems included in ItemClickCommand.
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?