On my whole application, I’ve some underscores (_) which are not displayed.
It’s due to the accessor. But how can I disable it? Application wide? I don’t have them on labels, textboxes, …
Thank you
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To disable underscores globally for all labels you can override the default template for labels like this:
It differs from the default template in this line:
RecognizesAccessKey="False".Put this style in global resources of your application (
App.xaml) and your labels will not recognize underscores anymore.