How to show '&' on LabelControl.Text
I need to show 'S&P' on DevExpress LabelControl.Text but it show 'S<u>P</u>', where 'P' is underline.
At first, I change '&' as fullwidth , '&' , to solve. But I find LabelControl.Text: Does Not Display '&' If String Contains This Character gave answer.
A character followed by the & sign within a caption is used as a mnemonic char. If you need to show the ampersand symbol, you should use the "&&" string.
Written by 小叮噹文青
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ui
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#