Hi there,
I have a complex UI with collectionview as below and I would like to send a command from Image.GestureRecognizers inside ContentView to ViewModel of the screen which contains collectionview, but it doesn't work. ViewModel doesn't receive the command.
I also try below, but it doesn't work. It throws exception right after accept that screen.
Command="{Binding BindingContext.Command, Source={x:Reference Name=SampleViewRef}}"
Exception:
System.Reflection.TargetInvocationException
Message=Exception has been thrown by the target of an invocation.


Regards,
Tony