Hello @curtisw,
as you helped me immediately with my last Eto question yesterday, I had some time today to work myself into the next issue I’m unable solve Sorry for that!
I’m working with a GridView now. I managed to set up a simple Example of a GridView bound to an extended ObservableCollection within the ViewModel. When clicking the three Buttons on the form I’m able to Add, delete and change Items in the GridView.
Now I want to add a third column of buttons and show a message if one of those buttons is clicked. I managed to create a new CutomCell filled with a button and tried to bind it to a VM Command from within the CustomCell class but this doesn’t seem to work.
Do you have a hint or an example of how to handle a Button Click within a CustomCell?Somewhere I read about using a ImageViewCell and handling the it’s Click-Event but I don’t understand how to do this with a ViewModel… In other words: I’m searching for a way to forward a Click Event in the View to a Command in the ViewModel.
Do you have a hint there? Thank you very much!
Again for reference, I’m attaching my attempt of a GridView with the non-functional Button-CustomCell-Approach:
GridView.cs (9.5 KB)