Ala*_*an2 1 xaml xamarin xamarin.forms
我正在尝试添加这样的&符号:
<Label Text="Phrase & Meaning Visible" />
Run Code Online (Sandbox Code Playgroud)
这不起作用,所以我试图用 \ 分隔,但这也不起作用。有没有人对我如何做到这一点有任何建议?
谨此感谢以下博客文章。 XAML 中的特殊符号
Run Code Online (Sandbox Code Playgroud)For Ampersand sign <Label Text="&"/> For less than sign <Label Text="<"> For greater than sign <Label Text=">"/> For double quotes <Label Text="""/>
| 归档时间: |
|
| 查看次数: |
1604 次 |
| 最近记录: |