Files
mono/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlGenericControl.cs
T
Gonzalo Paniagua Javier 26c28da391 2002-09-23 Gonzalo Paniagua Javier <[email protected]>
* HtmlAnchor.cs:
	* HtmlButton.cs:
	* HtmlContainerControl.cs:
	* HtmlControl.cs:
	* HtmlForm.cs:
	* HtmlGenericControl.cs:
	* HtmlImage.cs:
	* HtmlInputButton.cs:
	* HtmlInputCheckBox.cs:
	* HtmlInputControl.cs:
	* HtmlInputFile.cs:
	* HtmlInputHidden.cs:
	* HtmlInputImage.cs:
	* HtmlInputRadioButton.cs:
	* HtmlInputText.cs:
	* HtmlSelect.cs:
	* HtmlTable.cs:
	* HtmlTableCell.cs:
	* HtmlTableRow.cs:
	* HtmlTextArea.cs: added almost all missing attributes.

svn path=/trunk/mcs/; revision=7740
2002-09-23 17:59:02 +00:00

47 lines
854 B
C#

//
// 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; }
}
}
}