WriterStyle.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. /**
  2. * Project : Mono
  3. * Namespace : System.Web.UI.MobileControls.Adapters
  4. * Class : WriterStyle
  5. * Author : Gaurav Vaish
  6. *
  7. * Copyright : 2003 with Gaurav Vaish, and with
  8. * Ximian Inc
  9. */
  10. using System;
  11. using System.Collections;
  12. using System.Drawing;
  13. using System.Web.Mobile;
  14. using System.Web.UI.MobileControls;
  15. namespace System.Web.UI.MobileControls.Adapters
  16. {
  17. class WriterStyle
  18. {
  19. private bool layout;
  20. private Alignment alignment;
  21. private bool bold;
  22. private Color fontColor;
  23. private string fontName;
  24. private FontSize fontSize;
  25. private bool format;
  26. private bool italic;
  27. private Wrapping wrapping;
  28. public WriterStyle()
  29. {
  30. throw new NotImplementedException();
  31. }
  32. public WriterStyle(Style style)
  33. {
  34. throw new NotImplementedException();
  35. }
  36. public bool Layout
  37. {
  38. get
  39. {
  40. return this.layout;
  41. }
  42. set
  43. {
  44. this.layout = value;
  45. }
  46. }
  47. public Alignment Alignment
  48. {
  49. get
  50. {
  51. return alignment;
  52. }
  53. set
  54. {
  55. alignment = value;
  56. }
  57. }
  58. public bool Bold
  59. {
  60. get
  61. {
  62. return bold;
  63. }
  64. set
  65. {
  66. bold = value;
  67. }
  68. }
  69. public Color FontColor
  70. {
  71. get
  72. {
  73. return fontColor;
  74. }
  75. set
  76. {
  77. fontColor = value;
  78. }
  79. }
  80. public string FontName
  81. {
  82. get
  83. {
  84. return fontName;
  85. }
  86. set
  87. {
  88. fontName = value;
  89. }
  90. }
  91. public FontSize FontSize
  92. {
  93. get
  94. {
  95. return fontSize;
  96. }
  97. set
  98. {
  99. fontSize = value;
  100. }
  101. }
  102. public bool Format
  103. {
  104. get
  105. {
  106. return format;
  107. }
  108. set
  109. {
  110. format = value;
  111. }
  112. }
  113. public bool Italic
  114. {
  115. get
  116. {
  117. return italic;
  118. }
  119. set
  120. {
  121. italic = value;
  122. }
  123. }
  124. public Wrapping Wrapping
  125. {
  126. get
  127. {
  128. return wrapping;
  129. }
  130. set
  131. {
  132. wrapping = value;
  133. }
  134. }
  135. }
  136. }