Bug in WPF DataGrid
问题 There is a known bug in the standard WPF DataGrid when the user clicks on the last row to add a new row. An exception is thrown because a ConvertBack method (on the default converter) fails when dealing with the MS.Internal.NamedObject that represents the 'NewItemPlaceholder'. This instance is used to represent the blank “new row” if CanUserAddRows is set to True (and the collection supports it). In fact it appears as if the FormatException is actually being thrown within an exception handler