TextControl.cs 620 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /**
  2. * Project : Mono
  3. * Namespace : System.Web.UI.MobileControls
  4. * Class : TextControl
  5. * Author : Gaurav Vaish
  6. *
  7. * Copyright : 2003 with Gaurav Vaish, and with
  8. * Ximian Inc
  9. */
  10. using System.Web.UI;
  11. namespace System.Web.UI.MobileControls
  12. {
  13. public class TextControl : MobileControl
  14. {
  15. public TextControl()
  16. {
  17. }
  18. /*
  19. * Document speaks of
  20. * public IControlAdapter Adapter { get; }
  21. * but this is not available (no such property).
  22. * So, I am not keeping it.
  23. */
  24. public string Text
  25. {
  26. get
  27. {
  28. return InnerText;
  29. }
  30. set
  31. {
  32. InnerText = value;
  33. }
  34. }
  35. }
  36. }