Click here to Skip to main content
15,894,825 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
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.
Posted

1 solution

Does the underscore appear as an underline like METACONFIGURATION?
 
Share this answer
 
Comments
V. 11-Feb-11 6:38am    
Unfortunately not.
Sergey Alexandrovich Kryukov 11-Feb-11 15:06pm    
I voted 5 before I saw OP's not; no matter, valid guess.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900