WPF Datagrid not respecting DataGridCellEditEndingEventArgs.Cancel

Feb 24, 2011 at 5:14 PM


I'm doing cell editing in a WPF datagrid.  In my CellEditEnding handler, I'm setting the DataGridCellEditEndingEventArgs.Cancel property to true under certain circumstances.  According to the docs, the cell is supposed to remain in edit mode as a result of this.  It is essentially having no effect at all for me; the cell edit is ending and focus is moving to a different cell.

Is there some thing else I have to do to achieve this?