GridItem.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. //
  2. // System.Windows.Forms.GridItem.cs
  3. //
  4. // Author:
  5. // stubbed out by Daniel Carrera ([email protected])
  6. // Partially completed by Dennis Hayes ([email protected])
  7. //
  8. // (C) 2002 Ximian, Inc
  9. //
  10. namespace System.Windows.Forms {
  11. // <summary>
  12. // This is only a template. Nothing is implemented yet.
  13. //
  14. // </summary>
  15. public abstract class GridItem {
  16. bool expandable;
  17. bool expanded;
  18. //
  19. // --- Public Properties
  20. //
  21. public bool Expandable {
  22. get {
  23. return expandable;
  24. }
  25. }
  26. public bool Expanded {
  27. get {
  28. return expanded;
  29. }
  30. set {
  31. expanded = value;
  32. }
  33. }
  34. //[MonoTODO]
  35. //public abstract GridItemCollection GridItems {
  36. // get {
  37. // throw new NotImplementedException ();
  38. // }
  39. //}
  40. //[MonoTODO]
  41. //public abstract GridItemType GridItemType {
  42. // get {
  43. // throw new NotImplementedException ();
  44. // }
  45. //}
  46. //[MonoTODO]
  47. //public abstract string Label {
  48. // get {
  49. // throw new NotImplementedException ();
  50. // }
  51. //}
  52. //[MonoTODO]
  53. //public abstract GridItem Parent {
  54. // get {
  55. // throw new NotImplementedException ();
  56. // }
  57. //}
  58. //[MonoTODO]
  59. //public abstract PropertyDescriptor PropertyDescriptor {
  60. // get {
  61. // throw new NotImplementedException ();
  62. // }
  63. //}
  64. //[MonoTODO]
  65. //public abstract object Value {
  66. // get {
  67. // throw new NotImplementedException ();
  68. // }
  69. //}
  70. //
  71. // --- Public Properties
  72. //
  73. [MonoTODO]
  74. public override bool Equals(object o)
  75. {
  76. throw new NotImplementedException ();
  77. }
  78. //public static bool Equals(object o1, object o2)
  79. //{
  80. // throw new NotImplementedException ();
  81. //}
  82. [MonoTODO]
  83. public override int GetHashCode() {
  84. //FIXME add our proprities
  85. return base.GetHashCode();
  86. }
  87. //
  88. // --- Protected Constructor
  89. //
  90. [MonoTODO]
  91. protected GridItem()
  92. {
  93. throw new NotImplementedException ();
  94. }
  95. }
  96. }