Files
mono/mcs/class/System.Web/System.Web.UI/LiteralControl.cs
T
Gaurav Vaish 7679c319e1 2001-12-18 Gaurav Vaish <[email protected]>
* System.Web.UI/*.cs
* System.Web/*.cs      -- Looks like I need to take control of this now. Build is otherwise failing

svn path=/trunk/mcs/; revision=1627
2001-12-18 14:11:11 +00:00

40 lines
980 B
C#

//
// System.Web.UI.LiteralControl.cs
//
// Author:
// Bob Smith <[email protected]>
//
// (C) Bob Smith
//
using System;
using System.Web;
namespace System.Web.UI
{
public class LiteralControl : Control
{
private string _text = String.Empty;
public LiteralControl() {}
public LiteralControl(string text)
{
_text = text;
}
public virtual string Text
{
get
{
return _text;
}
set
{
_text = value;
}
}
protected override void Render(HtmlTextWriter writer)
{
writer.Write(_text);
}
}
}