RepeaterDesigner.cs 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. //
  2. // System.Web.UI.Design.WebControls.RepeaterDesigner.cs
  3. //
  4. // Author: Duncan Mak ([email protected])
  5. //
  6. // Copyright (C) 2005 Novell, Inc (http://www.novell.com)
  7. //
  8. // Permission is hereby granted, free of charge, to any person obtaining
  9. // a copy of this software and associated documentation files (the
  10. // "Software"), to deal in the Software without restriction, including
  11. // without limitation the rights to use, copy, modify, merge, publish,
  12. // distribute, sublicense, and/or sell copies of the Software, and to
  13. // permit persons to whom the Software is furnished to do so, subject to
  14. // the following conditions:
  15. //
  16. // The above copyright notice and this permission notice shall be
  17. // included in all copies or substantial portions of the Software.
  18. //
  19. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  20. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  21. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  22. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  23. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  24. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  25. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  26. //
  27. using System;
  28. using System.Collections;
  29. using System.ComponentModel;
  30. using System.ComponentModel.Design;
  31. using System.Windows.Forms.Design;
  32. using System.Web.UI.Design;
  33. namespace System.Web.UI.Design.WebControls {
  34. public class RepeaterDesigner : ControlDesigner, IDataSourceProvider
  35. {
  36. string data_member;
  37. string data_source;
  38. public RepeaterDesigner ()
  39. : base ()
  40. {
  41. }
  42. public string DataMember {
  43. get { return data_member; }
  44. set { data_member = value; }
  45. }
  46. public string DataSource {
  47. get { return data_source; }
  48. set { data_source = value; }
  49. }
  50. protected bool TemplatesExist {
  51. get { throw new NotImplementedException (); }
  52. }
  53. protected override void Dispose (bool disposing)
  54. {
  55. throw new NotImplementedException ();
  56. }
  57. protected IEnumerable GetDesignTimeDataSource (int minimum_rows)
  58. {
  59. throw new NotImplementedException ();
  60. }
  61. protected IEnumerable GetDesignTimeDataSource (
  62. IEnumerable selected_data_source,
  63. int minimum_rows)
  64. {
  65. throw new NotImplementedException ();
  66. }
  67. public override string GetDesignTimeHtml ()
  68. {
  69. throw new NotImplementedException ();
  70. }
  71. protected override string GetEmptyDesignTimeHtml ()
  72. {
  73. throw new NotImplementedException ();
  74. }
  75. protected override string GetErrorDesignTimeHtml (Exception e)
  76. {
  77. throw new NotImplementedException ();
  78. }
  79. public virtual IEnumerable GetResolvedSelectedDataSource ()
  80. {
  81. throw new NotImplementedException ();
  82. }
  83. public virtual object GetSelectedDataSource ()
  84. {
  85. throw new NotImplementedException ();
  86. }
  87. public override void Initialize (IComponent component)
  88. {
  89. throw new NotImplementedException ();
  90. }
  91. public override void OnComponentChanged (object sender, ComponentChangedEventArgs e)
  92. {
  93. throw new NotImplementedException ();
  94. }
  95. protected internal virtual void OnDataSourceChanged ()
  96. {
  97. throw new NotImplementedException ();
  98. }
  99. protected override void PreFilterProperties (IDictionary properties)
  100. {
  101. throw new NotImplementedException ();
  102. }
  103. }
  104. }