I'm having an issue when using a single TextStyle for both entire layers and individual features. The issue revolves around the TextColumnName.
For individual features, which are held in an InMemoryFeatureLayer, each feature has a column called "MainLabel" which is set equal to a TextStyle's name. These TextStyles and their names are in a ValueStyle.ValueItems for the layer.
For layers, I just assign the default text style to the TextStyle. I can set the TextColumnName to a column in the layer. But if I do this, the individual features in the other layer won't show their TextStyle, because the TextColumnName isn't equal to "MainLabel" anymore.
One option is to make a duplicate of every TextStyle I have and use one for layers and one for individual features with the only difference being the TextColumnName, but that seems inefficient. Is there a better way to handle this?