【发布时间】:2021-08-13 21:55:53
【问题描述】:
我正在尝试使用 XAML 向 Xamarin 中的编辑器占位符添加换行符。不幸的是,我不能使用 \n 或 换行。
有人知道如何解决此问题吗?
我试过了,它不会工作:
<Editor Placeholder="This is one line \n this is the next one."/>
预期结果:
这是一行
这是下一行。
我的结果:
这是一行\n这是下一行。
【问题讨论】:
标签: xaml xamarin xamarin.forms