Get values from *.resx files in XAML

前端 未结 7 2068
攒了一身酷
攒了一身酷 2020-11-30 23:24

Is it possible to add some value from resource file right into the XAML markup? Or for localization we always have to make something like this in *.cs file:

         


        
7条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-30 23:59

    The simplest way, where you can define the width of textbox also according to the length of text in each language.

    Xaml Code

    
    

    Have a look at resource file:- Click View

提交回复
热议问题