I have a contentcontrol that holds an image control. Contentcontrol content is binded to a currently selected row in datagrid which is binded to a dataset table.
I have an eventhandler for clicking the image that should add an image to the datatable to the row corresponding the selected row in the datagrid at the time the image was clicked.
How can I pass the currently selected row in the datagrid to the click eventhandler so that I could determine which row in the datatable I should add the image?
Can I get it through the default sender or e parameters somehow?