CodePudding user response:
In MouseRightButtonDown click event to set breakpoints, the parameters of the event sender is actually the DataGridThe DataGrid dg=sender as DataGrid;
Dg. CurrentCell is you click on the cell
CodePudding user response:
In MouseRightButtonDown click event to set breakpoints, the parameters of the event sender is actually the DataGrid