MobileEntry.cs 682 B

12345678910111213141516171819202122232425262728293031
  1. using Xamarin.Forms;
  2. namespace InABox.Mobile
  3. {
  4. public enum MobileEntryCharacterCasing
  5. {
  6. Mixed,
  7. UpperCase,
  8. Lowercase
  9. }
  10. public class MobileEntry : Entry
  11. {
  12. public MobileEntryCharacterCasing CharacterCasing { get; set; }
  13. public MobileEntry()
  14. {
  15. TextColor = Color.Black;
  16. BackgroundColor = Color.LightYellow;
  17. FontSize = Device.GetNamedSize(NamedSize.Small, this);
  18. PlaceholderColor = Color.Gray;
  19. CharacterCasing = MobileEntryCharacterCasing.Mixed;
  20. PropertyChanging += (sender, args) =>
  21. {
  22. };
  23. }
  24. }
  25. }