I tried to figure this out a while ago but gave up - now I'm in a situation where I need to try again.
I have a DataGrid (using .NET 4) and I'm trying to fire an event when a cell is changed. However, I cannot generate any events until a different row is selected. So, for example, I have a datagrid with a checkbox column and I want an event to
occur when the user changes one of the checkboxes. As it is right now, I can't generate an event until the user selects another row after changing the checkbox.
I've tried every type of event I can find - RowEditEnding, CellEditEnding, CurrentCellChanged, MouseLeftButtonUp, MouseLeftButtonDown, etc. None is ever fired when the checkbox is changed - they don't fire until another row is selected.
So, I can click away on a checkbox hundreds of times and no events will be generated. As soon as I change rows, though, the events occur.
Any help with this one? This is such an elementary problem I'm sure there's something basic I'm missing. Suffice it to say, I don't use WPF very often :) I've seen the same question asked elsewhere and there are supposed answers but they
are extremely complicated and I can't get them to work.
Thanks in advance,
View Complete Post