I am new to WPF, so there may be an easy answer to this, but it isn’t obvious to me.
The grid obviously represents a collection of my Configured Port objects. I want to store the Configured Port object (which is the Binding for each row) in order to pass it to the next UserControl in the MVVM chain when a grid cell is clicked.
I did find this SO question, but the commented section is exactly what I am missing.
Thanks in advance, I’m sure there is an easy solution.
I would use this (everything except for the inner most xaml was taken from the other SO post you linked to:
Then the source for the click handler: