C# Xamarin.forms在编辑器类中多行放置默认文本
本质上,我想把多行文本放在一个编辑器类中,一个排序模板 我试着把我想要的东西的纯文本放进去,但结果只有一行C# Xamarin.forms在编辑器类中多行放置默认文本,c#,xamarin.forms,C#,Xamarin.forms,本质上,我想把多行文本放在一个编辑器类中,一个排序模板 我试着把我想要的东西的纯文本放进去,但结果只有一行 <Editor Text=" Dear Blank, How are you today? I'm fine if you were wondering" /> 但结果是 Dear Blank, How are you today? I'm fine if you were wondering 在我的应用程序的文本输入框/编辑器类中。作为 \r, CR: 
<Editor
Text="
Dear Blank,
How are you today?
I'm fine if you were wondering" />
但结果是
Dear Blank, How are you today? I'm fine if you were wondering
在我的应用程序的文本输入框/编辑器类中。作为
\r, CR:
\n, LF:
更改文本的最简单方法如下:
<Editor
Text="Dear Blank, How are you today? I'm fine if you were wondering"/>
增加
和#10
在您想要的字符串后面尝试设置VerticalOptions=“FillAndExpand”
或HeightRequest
<Editor
Text="Dear Blank, How are you today? I'm fine if you were wondering"/>