Errata for Developer's Guide to Collections in Microsoft .NET
Submit your own errata for this product.
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question Note Update
| Version |
Location |
Description |
Submitted By |
Date Submitted |
Date Corrected |
| PDF |
Page 588
void OnSetComplete(int index, T oldValue, T newValue) function |
In constructor
new NotifyCollectionChangedEventArgs
(NotifyCollectionChangedAction.Replace, oldValue, newValue, index)
Order of oldValue and newValue is opposite as in MSDN help:
public NotifyCollectionChangedEventArgs(
NotifyCollectionChangedAction action,
Object newItem,
Object oldItem,
int index
)
This function crashes in my WPF application. If I replace the order of oldValue and newValue data binding works correctly.
The same mistake is in the source code.
Note from the Author or Editor: new NotifyCollectionChangedEventArgs
(NotifyCollectionChangedAction.Replace, newValue, oldValue, index)
|
Juraj Lutisan |
Feb 08, 2012 |
|