Hi,
I am experiencing an issue with the PropertyGrid when binding to a Dictionary<int, object>. The binding works correctly, and I can see the keys and values. However, when I open the values collection and then click OK/Cancel, a NotSupportedException is thrown with the message: “Mutating a value collection derived from a dictionary is not allowed.”
Steps to Reproduce:
- Bind a
Dictionary<int, object> to the SelectedObject property.
- Open the values collection in the PropertyGrid.
- OK/Cancel the changes.
Thanks.