ControlBindingsCollection.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. //
  2. // System.Windows.Forms.ControlBindingsCollection.cs
  3. //
  4. // Author:
  5. // stubbed out by Jaak Simm ([email protected])
  6. // Dennis Hayes ([email protected])
  7. //
  8. // (C) 2002 Ximian, Inc
  9. //
  10. using System.Collections;
  11. using System.ComponentModel;
  12. namespace System.Windows.Forms {
  13. /// <summary>
  14. /// Represents the collection of data bindings for a control.
  15. ///
  16. /// ToDo note:
  17. /// - no methods are implemented
  18. /// </summary>
  19. [MonoTODO]
  20. public class ControlBindingsCollection : BindingsCollection {
  21. #region Constructors
  22. protected internal ControlBindingsCollection() : base ()
  23. {
  24. }
  25. #endregion
  26. #region Properties
  27. [MonoTODO]
  28. public Control Control {
  29. get { throw new NotImplementedException (); }
  30. }
  31. [MonoTODO]
  32. public Binding this[string propertyName] {
  33. get { throw new NotImplementedException (); }
  34. }
  35. #endregion
  36. #region Methods
  37. /// following methods were not stubbed out, because they only support .NET framework:
  38. /// - protected override void AddCore(Binding dataBinding);
  39. /// - protected override void ClearCore();
  40. /// - protected override void RemoveCore(Binding dataBinding);
  41. [MonoTODO]
  42. public new void Add(Binding binding)
  43. {
  44. throw new NotImplementedException ();
  45. }
  46. [MonoTODO]
  47. public Binding Add(string propertyName,object dataSource,string dataMember)
  48. {
  49. throw new NotImplementedException ();
  50. }
  51. [MonoTODO]
  52. public new void Clear()
  53. {
  54. throw new NotImplementedException ();
  55. }
  56. [MonoTODO]
  57. public new void Remove(Binding binding)
  58. {
  59. throw new NotImplementedException ();
  60. }
  61. [MonoTODO]
  62. public new void RemoveAt(int index)
  63. {
  64. throw new NotImplementedException ();
  65. }
  66. #endregion
  67. }
  68. }