MobileControl.cs 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. /**
  2. * Project : Mono
  3. * Namespace : System.Web.UI.MobileControls
  4. * Class : MobileControl
  5. * Author : Gaurav Vaish
  6. *
  7. * Copyright : 2003 with Gaurav Vaish, and with
  8. * Ximian Inc
  9. */
  10. using System.Drawing;
  11. using System.Collections;
  12. using System.Web.UI;
  13. using System.Web.Mobile;
  14. namespace System.Web.UI.MobileControls
  15. {
  16. public abstract class MobileControl : Control
  17. {
  18. private Style style;
  19. private IControlAdapter adapter;
  20. protected MobileControl()
  21. {
  22. }
  23. public IControlAdapter Adapter
  24. {
  25. get
  26. {
  27. IControlAdapter retVal = null;
  28. if(adapter != null)
  29. retVal = adapter;
  30. else if(MobilePage != null)
  31. retVal = MobilePage.GetControlAdapter(this);
  32. return retVal;
  33. }
  34. }
  35. public Alignment Alignment
  36. {
  37. get
  38. {
  39. throw new NotImplementedException();
  40. }
  41. set
  42. {
  43. throw new NotImplementedException();
  44. }
  45. }
  46. public virtual Color BackColor
  47. {
  48. get
  49. {
  50. throw new NotImplementedException();
  51. }
  52. set
  53. {
  54. throw new NotImplementedException();
  55. }
  56. }
  57. public virtual bool BreakAfter
  58. {
  59. get
  60. {
  61. throw new NotImplementedException();
  62. }
  63. set
  64. {
  65. throw new NotImplementedException();
  66. }
  67. }
  68. public DeviceSpecific DeviceSpecific
  69. {
  70. get
  71. {
  72. throw new NotImplementedException();
  73. }
  74. set
  75. {
  76. throw new NotImplementedException();
  77. }
  78. }
  79. public int FirstPage
  80. {
  81. get
  82. {
  83. throw new NotImplementedException();
  84. }
  85. set
  86. {
  87. throw new NotImplementedException();
  88. }
  89. }
  90. public virtual FontInfo Font
  91. {
  92. get
  93. {
  94. throw new NotImplementedException();
  95. }
  96. }
  97. public virtual Color ForeColor
  98. {
  99. get
  100. {
  101. throw new NotImplementedException();
  102. }
  103. set
  104. {
  105. throw new NotImplementedException();
  106. }
  107. }
  108. public Form Form
  109. {
  110. get
  111. {
  112. throw new NotImplementedException();
  113. }
  114. }
  115. public virtual bool IsTemplated
  116. {
  117. get
  118. {
  119. throw new NotImplementedException();
  120. }
  121. }
  122. public int LastPage
  123. {
  124. get
  125. {
  126. throw new NotImplementedException();
  127. }
  128. set
  129. {
  130. throw new NotImplementedException();
  131. }
  132. }
  133. public MobilePage MobilePage
  134. {
  135. get
  136. {
  137. throw new NotImplementedException();
  138. }
  139. }
  140. public virtual string StyleReference
  141. {
  142. get
  143. {
  144. throw new NotImplementedException();
  145. }
  146. set
  147. {
  148. throw new NotImplementedException();
  149. }
  150. }
  151. public virtual int VisibleWeight
  152. {
  153. get
  154. {
  155. throw new NotImplementedException();
  156. }
  157. }
  158. public virtual Wrapping Wrapping
  159. {
  160. get
  161. {
  162. throw new NotImplementedException();
  163. }
  164. set
  165. {
  166. throw new NotImplementedException();
  167. }
  168. }
  169. protected string InnerText
  170. {
  171. get
  172. {
  173. throw new NotImplementedException();
  174. }
  175. set
  176. {
  177. throw new NotImplementedException();
  178. }
  179. }
  180. protected virtual bool PaginateChildren
  181. {
  182. get
  183. {
  184. throw new NotImplementedException();
  185. }
  186. set
  187. {
  188. throw new NotImplementedException();
  189. }
  190. }
  191. public virtual void AddLinkedForms(IList linkedForms)
  192. {
  193. throw new NotImplementedException();
  194. }
  195. public virtual void CreateDefaultTemplatedUI(bool doDataBind)
  196. {
  197. throw new NotImplementedException();
  198. }
  199. public virtual void EnsureTemplatedUI()
  200. {
  201. throw new NotImplementedException();
  202. }
  203. public virtual ITemplate GetTemplate(string templateName)
  204. {
  205. throw new NotImplementedException();
  206. }
  207. public bool IsVisibleOnPage(int pageNumber)
  208. {
  209. throw new NotImplementedException();
  210. }
  211. public virtual void PaginateRecursive(ControlPager pager)
  212. {
  213. throw new NotImplementedException();
  214. }
  215. public Form ResolveFormReference(string name)
  216. {
  217. throw new NotImplementedException();
  218. }
  219. protected virtual Style CreateStyle()
  220. {
  221. throw new NotImplementedException();
  222. }
  223. protected virtual void CreatedTempaltedUI(bool doDataBind)
  224. {
  225. throw new NotImplementedException();
  226. }
  227. protected virtual bool isFormSubmitControl()
  228. {
  229. throw new NotImplementedException();
  230. }
  231. protected virtual void LoadPrivateViewState(object state)
  232. {
  233. throw new NotImplementedException();
  234. }
  235. protected virtual void OnPageChange(int oldIndex, int newIndex)
  236. {
  237. throw new NotImplementedException();
  238. }
  239. protected virtual void OnRender(HtmlTextWriter writer)
  240. {
  241. throw new NotImplementedException();
  242. }
  243. protected virtual object SavePrivateViewState()
  244. {
  245. throw new NotImplementedException();
  246. }
  247. }
  248. }