I have several listboxes that get set via a datacontext or label contents loaded with a setting. Somewhere along the line however underscores seem to disappear. eg. One listbox contains the table names of the database, some table names have an underscore in their name like META_CONFIGURATION. in my listbox, it is showing up as METACONFIGURATION. However, doubleclicking an item sets it to a textbox and there META_CONFIGURATION shows up again. IOW the name seems correct, but is not showing correctly. Also, not all underscores disappear.
At first I thought it was linked to the datacontext, but debugging showed it is correct there. There are no valueconverters attached.
A google on this didn't produce any results and I haven't seen this behavior before.
Has anybody got any idea? It might be a beauty error, but a very annoying one.
Many thanks.