MobileEditor.cs 447 B

1234567891011121314151617
  1. using Xamarin.Forms;
  2. namespace InABox.Mobile
  3. {
  4. public class MobileEditor : Editor
  5. {
  6. public MobileEditor()
  7. {
  8. TextColor = Color.Black;
  9. BackgroundColor = Color.LightYellow;
  10. FontSize = Device.GetNamedSize(NamedSize.Small, this);
  11. PlaceholderColor = Color.Gray;
  12. this.Keyboard = Keyboard.Plain;
  13. AutoSize = EditorAutoSizeOption.TextChanges;
  14. }
  15. }
  16. }