* System.Design.dll.sources: remove DataBindingCollection
[mono.git] / mcs / class / System.Design / System.Web.UI.Design / WebControlToolboxItem.cs
1 using System;
2 using System.Collections;
3 using System.ComponentModel.Design;
4 using System.ComponentModel;
5 using System.Drawing.Design;
6 using System.Runtime.Serialization;
7 using System.Web.UI.WebControls;
8
9 namespace System.Web.UI.Design
10 {
11         [MonoTODO]
12         public class WebControlToolboxItem : ToolboxItem
13         {
14                 #region Public Instance Constructors
15
16                 public WebControlToolboxItem ()
17                 {
18                         toolData = null;
19                         persistChildren = -1;
20                 }
21
22                 [MonoTODO]
23                 public WebControlToolboxItem (Type type)
24                 {
25                         toolData = null;
26                         persistChildren = -1;
27                 }
28
29                 #endregion Public Instance Constructors
30
31                 #region Override implementation of ToolboxItem
32
33                 [MonoTODO]
34                 protected override IComponent[] CreateComponentsCore (IDesignerHost host)
35                 {
36                         throw new NotImplementedException ();
37                 }
38
39                 [MonoTODO]
40                 protected override void Serialize (SerializationInfo info, StreamingContext context)
41                 {
42                         base.Serialize (info, context);
43                         if (this.toolData != null)
44                         {
45                                 info.AddValue ("ToolData", this.toolData);
46                         }
47                         if (this.persistChildren != -1)
48                         {
49                                 info.AddValue ("PersistChildren", this.persistChildren);
50                         }
51                 }
52
53                 [MonoTODO]
54                 protected override void Deserialize (SerializationInfo info, StreamingContext context)
55                 {
56                         base.Deserialize (info, context);
57                         toolData = info.GetString ("ToolData");
58                         persistChildren = info.GetInt32 ("PersistChildren");
59                 }
60
61                 [MonoTODO]
62                 public override void Initialize (Type type)
63                 {
64                         throw new NotImplementedException ();
65                 }
66
67                 #endregion Override implementation of ToolboxItem
68
69                 #region Public Instance Methods
70
71                 [MonoTODO]
72                 public object GetToolAttributeValue (IDesignerHost host, Type attributeType)
73                 {
74                         throw new NotImplementedException ();
75                 }
76
77                 [MonoTODO]
78                 public string GetToolHtml (IDesignerHost host)
79                 {
80                         throw new NotImplementedException ();
81                 }
82
83                 [MonoTODO]
84                 public Type GetToolType (IDesignerHost host)
85                 {
86                         throw new NotImplementedException ();
87                 }
88
89                 #endregion Public Instance Methods
90
91                 #region Private Instance Fields
92
93                 private int persistChildren;
94                 private string toolData;
95
96                 #endregion Private Instance Fields
97         }
98
99 }