I want to create this behavior:
I want to be able to select only full lines, act on double click on the line -
currently I have 2 problems with this code:
1, when I double click inside the line - it selects the cell and not the line - I can only choose the line by clicking on the edge of the line.
this code will return null: RecordType st = ((FrameworkElement)e.OriginalSource).DataContext as RecordType (unless I click on the edge)
2. when I click on the vertical scroll bar more than 2 times - it acts like selecting a cell ! - I need to interpreting clicking on scroll bar as clicking on the grid surface....
How can I fix this ?