Silverlight DataGrid Bug Demo

If members are removed from a DataGrid's ItemsSource, subsequent insertions are not always immediately reflected in the DataGrid. A demonstration of the bug is provided below. The left DataGrid exhibits the desired behavior, while the right DataGrid shows the bug. The left DataGrid avoids the bug by resetting its ItemsSource property at the appropriate moment.

The demo has three parts. Each illustrates a different aspect. A program trace with social commentary is provided at the bottom of the page.

This bug has been reported to Microsoft along with sample source code.

Valid CSS 2.1!