I have a GridView
which is bound to a List of Objects X
in the ViewModel
, I want to Command bind to each button, so that in when I click the button i get info from the selected X object and view it somewhere else.
Simply as that. I can't seem to find a reference to the selected GridView item that's bound to that particular button from the ViewModel
codeBehind.