I have a linkbutton inside a listbox that receives a list of objects. I'm using the ListBox.ItemTemplate and DataTemplate to lay out the listbox items. Can I bind the entire object that is currently binding to the command parameter of the linkbutton? I've tried using
CommandParameter={Binding Data}
and
CommandParameter={Binding DataItem}
but I always get the error in output that 'Data' or 'DataItem' is not a property on said object. Is this even possible?