I'm getting an error thrown in Thinkgeo.Mapsuite.Wpf.dll when trying to use custom value styles for InMemoryFeatureLayers.
I provide a small sample project at this link: https://www.dropbox.com/s/dn7gdgygyotx5z0/WpfApp3.zip?dl=0
The error I'm getting is:
System.ArgumentNullException: 'Value cannot be null.
Parameter name: key'
To test the sample project, simply click "click me" button at the top of the window. Following the code, you'll see it defines a FontStyleModel class, which holds a TextStyle. I add this to a ValueStyle, and have an InMemoryFeatureLayer using that ValueStyle. However, it throws the above error. I tried the same code using a WinForms map too and got the same error. Am I missing something?