Stop ampersand from being turned into a mnemonic/accelerators for Windows Forms binding [duplicate]
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Enter “&” symbol into a text Label in Windows Forms? On a screen with label controls bound to user-filled properties, I'm getting underlined characters (mnemonics) on the label because the underlying data contains ampersands. For example, if the bound property contains "A&B Trucking", then the label shows as "AB Trucking" with the B underlined. Alt-B on the keyboard would focus that label. How do you prevent