Cannot see _ (underscore) in WPF content

后端 未结 5 1049
挽巷
挽巷 2020-12-03 20:34

A very simple question:

Why I cant see _ (underscore) in WPF content?

For instance the content of

5条回答
  •  旧时难觅i
    2020-12-03 21:06

    I know im late to the party but I believe that if you don't have the Label associated to a TextBox than you should use a TextBlock instead.

    Changing your control to a TextBlock solves this issue since only Label has the mnemonic support

提交回复
热议问题