Hello,
we have an application where we are tracking the user selection of a row in the xamDataGrid by binding the IsSelected XAML property to a special property on the datasource. Then, another function is that we want to switch the datagrid´s AllowEdit - which is done by the help of this method (http://www.codeproject.com/Articles/27432/Artificial-Inheritance-Contexts-in-WPF).
Now in combination the following problem appears: When a row is selected AND we switch AllowEdit to on or off, the application crashes.
We got a test case which is attached, maybe someone can take a look. Note: The binding on the setter property ({Binding DataItem.IsSelectedInGrid, Mode=TwoWay}) is set to TwoWay, the problem does not happen when switched to OneWay. However, we need the TwoWay functionality.
BR Florian