1.Label 显示文本
https://docs.microsoft.com/zh-cn/xamarin/xamarin-forms/user-interface/text/label
2.Entry--单行文本框
<Entry Placeholder="Username" BackgroundColor="#2c3e50" />
https://docs.microsoft.com/zh-cn/xamarin/xamarin-forms/user-interface/text/entry
3.Editor多行文本
<Editor Text="Xamarin Blue" AutoSize="TextChanges" BackgroundColor="#2c3e50" />
https://docs.microsoft.com/zh-cn/xamarin/xamarin-forms/user-interface/text/editor
属性说明
Placeholder 提示词,输入后隐藏;
PlaceholderColor="Olive" 提示词颜色
BackgroundColor="#2c3e50" 整个文本框背景色;
TextColor="#77d065" 文本颜色;
Text="Xamarin Green" 指定默认文本;
IsPassword="true" 指定为密码框;
IsEnabled="false" 不可用,为灰色
ReturnType="Send"
CursorPosition="5"
SelectionLength="10"