I created a data grid in a tab and set an event that whenever you double click on the grid, it would switch to another tab. The event handler gets triggered correctly. The thing is only when I double click the first column of the data grid will it jump to the other tab.


XAML Code:
C# Code:
I have also tried “<DataGrid.CellStyle>”. The problem remains.
no comments yet
Be the first to share what you think!
C# devs
null reference exceptions

source