1 
2 //
3 // Permission is hereby granted, free of charge, to any person obtaining
4 // a copy of this software and associated documentation files (the
5 // "Software"), to deal in the Software without restriction, including
6 // without limitation the rights to use, copy, modify, merge, publish,
7 // distribute, sublicense, and/or sell copies of the Software, and to
8 // permit persons to whom the Software is furnished to do so, subject to
9 // the following conditions:
10 //
11 // The above copyright notice and this permission notice shall be
12 // included in all copies or substantial portions of the Software.
13 //
14 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 //
22 using System;
23 using System.Collections;
24 using System.ComponentModel;
25 using System.ComponentModel.Design;
26 using System.Drawing;
27 using System.Web.UI.WebControls;
28 using System.Windows.Forms;
29 
30 namespace System.Web.UI.Design
31 {
32 	[MonoTODO]
33 	public class ControlDesigner : HtmlControlDesigner
34 	{
ControlDesigner()35 		public ControlDesigner () {  }
36 
37 		[MonoTODO]
CreatePlaceHolderDesignTimeHtml()38 		protected string CreatePlaceHolderDesignTimeHtml () { throw new NotImplementedException (); }
39 		[MonoTODO]
CreatePlaceHolderDesignTimeHtml(string instruction)40 		protected string CreatePlaceHolderDesignTimeHtml (string instruction) { throw new NotImplementedException (); }
41 		[MonoTODO]
GetDesignTimeHtml()42 		public virtual string GetDesignTimeHtml () { throw new NotImplementedException (); }
43 		[MonoNotSupported ("")]
GetDesignTimeResourceProviderFactory(IServiceProvider serviceProvider)44 		public static DesignTimeResourceProviderFactory GetDesignTimeResourceProviderFactory (IServiceProvider serviceProvider)
45 		{ throw new NotImplementedException (); }
46 
47 		[MonoNotSupported ("")]
GetViewRendering(Control control)48 		public static ViewRendering GetViewRendering (Control control)
49 		{ throw new NotImplementedException (); }
50 
51 		[MonoNotSupported ("")]
GetViewRendering(ControlDesigner designer)52 		public static ViewRendering GetViewRendering (ControlDesigner designer)
53 		{ throw new NotImplementedException (); }
54 
55 		[MonoNotSupported ("")]
CreateErrorDesignTimeHtml(string errorMessage)56 		protected string CreateErrorDesignTimeHtml (string errorMessage)
57 		{ throw new NotImplementedException (); }
58 
59 		[MonoNotSupported ("")]
CreateErrorDesignTimeHtml(string errorMessage, Exception e)60 		protected string CreateErrorDesignTimeHtml (string errorMessage, Exception e)
61 		{ throw new NotImplementedException (); }
62 
63 		[MonoNotSupported ("")]
CreateViewControl()64 		protected virtual Control CreateViewControl ()
65 		{ throw new NotImplementedException (); }
66 
67 		[MonoNotSupported ("")]
GetBounds()68 		public Rectangle GetBounds ()
69 		{ throw new NotImplementedException (); }
70 
71 		[MonoNotSupported ("")]
GetDesignTimeHtml(DesignerRegionCollection regions)72 		public virtual string GetDesignTimeHtml (DesignerRegionCollection regions)
73 		{ throw new NotImplementedException (); }
74 
75 		[MonoNotSupported ("")]
GetEditableDesignerRegionContent(EditableDesignerRegion region)76 		public virtual string GetEditableDesignerRegionContent (EditableDesignerRegion region) { throw new NotImplementedException (); }
77 
78 		[MonoNotSupported ("")]
SetEditableDesignerRegionContent(EditableDesignerRegion region, string content)79 		public virtual void SetEditableDesignerRegionContent (EditableDesignerRegion region, string content) { throw new NotImplementedException (); }
80 
81 		[MonoNotSupported ("")]
GetPersistenceContent()82 		public virtual string GetPersistenceContent ()
83 		{
84 			throw new NotImplementedException ();
85 		}
86 
87 		[MonoNotSupported ("")]
GetViewRendering()88 		public ViewRendering GetViewRendering ()
89 		{
90 			throw new NotImplementedException ();
91 		}
92 
93 		[MonoTODO]
Invalidate()94 		public void Invalidate ()
95 		{
96 			throw new NotImplementedException ();
97 		}
98 
99 		[MonoTODO]
Invalidate(Rectangle rectangle)100 		public void Invalidate (Rectangle rectangle)
101 		{
102 			throw new NotImplementedException ();
103 		}
104 
105 		[MonoTODO]
InvokeTransactedChange(IComponent component, TransactedChangeCallback callback, object context, string description)106 		public static void InvokeTransactedChange (IComponent component, TransactedChangeCallback callback, object context, string description)
107 		{
108 			throw new NotImplementedException ();
109 		}
110 
111 		[MonoTODO]
InvokeTransactedChange(IComponent component, TransactedChangeCallback callback, object context, string description, MemberDescriptor member)112 		public static void InvokeTransactedChange (IComponent component, TransactedChangeCallback callback, object context, string description, MemberDescriptor member)
113 		{
114 			throw new NotImplementedException ();
115 		}
116 
117 		[MonoTODO]
InvokeTransactedChange(IServiceProvider serviceProvider, IComponent component, TransactedChangeCallback callback, object context, string description, MemberDescriptor member)118 		public static void InvokeTransactedChange (IServiceProvider serviceProvider, IComponent component, TransactedChangeCallback callback, object context, string description, MemberDescriptor member)
119 		{
120 			throw new NotImplementedException ();
121 		}
122 
123 		[MonoTODO]
Localize(IDesignTimeResourceWriter resourceWriter)124 		public void Localize (IDesignTimeResourceWriter resourceWriter)
125 		{
126 			throw new NotImplementedException ();
127 		}
128 
129 		[MonoTODO]
OnAutoFormatApplied(DesignerAutoFormat appliedAutoFormat)130 		public virtual void OnAutoFormatApplied (DesignerAutoFormat appliedAutoFormat)
131 		{
132 			throw new NotImplementedException ();
133 		}
134 
135 		[MonoTODO]
OnComponentChanging(object sender, ComponentChangingEventArgs ce)136 		public virtual void OnComponentChanging (object sender, ComponentChangingEventArgs ce)
137 		{
138 			throw new NotImplementedException ();
139 		}
140 
141 		[MonoTODO]
OnPaint(PaintEventArgs e)142 		protected virtual void OnPaint (PaintEventArgs e)
143 		{
144 			throw new NotImplementedException ();
145 		}
146 
147 		[MonoTODO]
RegisterClone(object original, object clone)148 		public void RegisterClone (object original, object clone)
149 		{
150 			throw new NotImplementedException ();
151 		}
152 
153 		[MonoTODO]
SetRegionContent(EditableDesignerRegion region, string content)154 		protected void SetRegionContent (EditableDesignerRegion region, string content)
155 		{
156 			throw new NotImplementedException ();
157 		}
158 
159 		[MonoTODO]
GetEmptyDesignTimeHtml()160 		protected virtual string GetEmptyDesignTimeHtml () { throw new NotImplementedException (); }
161 
162 		[MonoTODO]
GetErrorDesignTimeHtml(Exception e)163 		protected virtual string GetErrorDesignTimeHtml (Exception e) { throw new NotImplementedException (); }
164 
165 		[MonoTODO]
166 		[Obsolete ("Use GetPersistenceContent() instead")]
GetPersistInnerHtml()167 		public virtual string GetPersistInnerHtml () { throw new NotImplementedException (); }
168 
169 		[MonoTODO]
Initialize(IComponent component)170 		public override void Initialize (IComponent component) { throw new NotImplementedException (); }
171 
172 		[MonoTODO]
173 		[Obsolete ("Use DataBindings.Contains(string) instead")]
IsPropertyBound(string propName)174 		public bool IsPropertyBound (string propName) { throw new NotImplementedException (); }
175 
176 
177 		[MonoTODO]
178 		[Obsolete ("Use DataBindings.Changed event instead")]
OnBindingsCollectionChanged(string propName)179 		protected override void OnBindingsCollectionChanged (string propName) { throw new NotImplementedException (); }
180 
181 		[MonoTODO]
OnClick(DesignerRegionMouseEventArgs e)182 		protected virtual void OnClick (DesignerRegionMouseEventArgs e) { throw new NotImplementedException (); }
183 
184 		[MonoTODO]
OnComponentChanged(object sender, ComponentChangedEventArgs ce)185 		public virtual void OnComponentChanged (object sender, ComponentChangedEventArgs ce) { throw new NotImplementedException (); }
186 
187 		[MonoTODO]
188 		[Obsolete ("Use OnComponentChanged() instead")]
OnControlResize()189 		protected virtual void OnControlResize () { throw new NotImplementedException (); }
190 
191 		[MonoTODO]
PreFilterProperties(IDictionary properties)192 		protected override void PreFilterProperties (IDictionary properties) { throw new NotImplementedException (); }
193 
194 		[MonoTODO]
195 		[Obsolete ("Use OnComponentChanged() instead")]
RaiseResizeEvent()196 		public void RaiseResizeEvent () { throw new NotImplementedException (); }
197 
198 		[MonoTODO]
UpdateDesignTimeHtml()199 		public virtual void UpdateDesignTimeHtml () { throw new NotImplementedException (); }
200 
201 		[MonoTODO]
202 		public virtual bool AllowResize { get { throw new NotImplementedException (); } }
203 		[MonoTODO]
204 		[Obsolete ("It is documented as not in use anymore", true)]
205 		protected object DesignTimeElementView { get { throw new NotImplementedException (); } }
206 		[MonoTODO]
207 		[Obsolete ("Use SetViewFlags(ViewFlags.DesignTimeHtmlRequiresLoadComplete, true)")]
208 		public virtual bool DesignTimeHtmlRequiresLoadComplete { get { throw new NotImplementedException (); } }
209 		[MonoTODO]
210 		public virtual string ID { get { throw new NotImplementedException (); } set { throw new NotImplementedException (); } }
211 		[MonoTODO]
212 		[Obsolete ("Use Tag.SetDirty() and Tag.IsDirty instead.")]
213 		public bool IsDirty { get { throw new NotImplementedException (); } set { throw new NotImplementedException (); } }
214 		[MonoTODO]
215 		[Obsolete ("Use ContainerControlDesigner and EditableDesignerRegion")]
216 		public bool ReadOnly { get { throw new NotImplementedException (); } set { throw new NotImplementedException (); } }
217 
218 		[MonoNotSupported ("")]
219 		public override DesignerActionListCollection ActionLists {
220 			get { throw new NotImplementedException (); }
221 		}
222 
223 		[MonoNotSupported ("")]
224 		public virtual DesignerAutoFormatCollection AutoFormats {
225 			get { throw new NotImplementedException (); }
226 		}
227 
228 		[MonoNotSupported ("")]
229 		protected virtual bool DataBindingsEnabled {
230 			get { throw new NotImplementedException (); }
231 		}
232 
233 		[MonoNotSupported ("")]
234 		protected ControlDesignerState DesignerState {
235 			[MonoNotSupported ("")]
236 			get {
237 				throw new NotImplementedException ();
238 			}
239 		}
240 
241 		[MonoNotSupported ("")]
242 		protected internal virtual bool HidePropertiesInTemplateMode {
243 			get { throw new NotImplementedException (); }
244 		}
245 
246 		[MonoNotSupported ("")]
247 		public bool InTemplateMode {
248 			get { throw new NotImplementedException (); }
249 		}
250 
251 		[MonoNotSupported ("")]
252 		protected WebFormsRootDesigner RootDesigner {
253 			get { throw new NotImplementedException (); }
254 		}
255 
256 		[MonoNotSupported ("")]
257 		protected IControlDesignerTag Tag {
258 			get { throw new NotImplementedException (); }
259 		}
260 
261 		[MonoNotSupported ("")]
SetViewFlags(ViewFlags viewFlags, bool setFlag)262 		protected void SetViewFlags (ViewFlags viewFlags, bool setFlag)
263 		{
264 			throw new NotImplementedException ();
265 		}
266 
267 		[MonoNotSupported ("")]
268 		public virtual TemplateGroupCollection TemplateGroups {
269 			[MonoNotSupported ("")]
270 			get {
271 				throw new NotImplementedException ();
272 			}
273 		}
274 
275 		[MonoNotSupported ("")]
276 		public Control ViewControl {
277 			[MonoNotSupported ("")]
278 			get {
279 				throw new NotImplementedException ();
280 			}
281 
282 			[MonoNotSupported ("")]
283 			set {
284 				throw new NotImplementedException ();
285 			}
286 		}
287 
288 		[MonoNotSupported ("")]
289 		public virtual bool ViewControlCreated {
290 			[MonoNotSupported ("")]
291 			get {
292 				throw new NotImplementedException ();
293 			}
294 
295 			[MonoNotSupported ("")]
296 			set {
297 				throw new NotImplementedException ();
298 			}
299 		}
300 
301 		[MonoNotSupported ("")]
302 		protected virtual bool UsePreviewControl {
303 			get {
304 				throw new NotImplementedException ();
305 			}
306 		}
307 	}
308 }
309