The last column in my Datagrid is hyperlinked, every cell has an individual hyperlink. I want to be able to click on a cell, get the data within that cell, and using the hyperlink, redirect to another form, passing that data selected.
string AuditsRequired = (dgFake.Items[0] as DataRowView).Row.ItemArray[5].ToString();
xamlAllocteAudits AA = new xamlAllocteAudits(AuditsRequired);
AA.Show()
This is my first attempt at fetching the cell-data, however due to the code, I have specified a column and row, whereas I want the cell to be which ever cell I click, rather than specifying in code.
Here is my datagrid, showing the cells that have been hyperlinked: http://i.stack.imgur.com/v7Uyw.png