| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- //
- // System.Web.UI.HtmlControls.HtmlGenericControl.cs
- //
- // Authors:
- // Bob Smith <[email protected]>
- // Gonzalo Paniagua ([email protected])
- //
- // (C) Bob Smith
- // (c) 2002 Ximian, Inc. (http://www.ximian.com)
- //
-
- using System;
- using System.ComponentModel;
- using System.Web;
- using System.Web.UI;
- namespace System.Web.UI.HtmlControls{
-
- [ConstructorNeedsTag]
- public class HtmlGenericControl : HtmlContainerControl {
- private string tagName;
- public HtmlGenericControl() :
- this ("span")
- {
- }
-
- public HtmlGenericControl (string tag) :
- base ()
- {
- if (tag == null)
- tag = "";
- tagName = tag;
- }
-
- [DefaultValue("")]
- [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
- [WebCategory("Appearance")]
- public new string TagName
- {
- get { return tagName; }
- set { tagName = value; }
- }
- }
- }
|