How to make all text upper case / capital?

前端 未结 7 1593
Happy的楠姐
Happy的楠姐 2020-12-03 10:01

I want all texts in TextBlock, Label, MenuItem.Header to be displayed in upper case. The strings are taken from a ResourceDictio

7条回答
  •  北海茫月
    2020-12-03 10:28

    I think this will work for you

    
    

    For font capitals enumerations https://msdn.microsoft.com/en-us/library/system.windows.fontcapitals(v=vs.110).aspx

提交回复
热议问题