You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
If you have access to the code, could you try to replace the content of
internal void PersistChanges( IList sourceList )
from file Xceed.Wpf.Toolkit/CollectionControl/Implementation/CollectionControl.cs
with the content of the attached file ? 1784.txt
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, aNotSupportedException
is thrown with the message: “Mutating a value collection derived from a dictionary is not allowed.”Steps to Reproduce:
Dictionary<int, object>
to theSelectedObject
property.Thanks.
The text was updated successfully, but these errors were encountered: