System.Web.UI.WebControls (system.web.dll)class

This class represents a Label control, which allows you to place text on a page and modify it later by using the Text property. You can use HTML tags like <br> and <i> in the text string to format portions of the control.

public class Label : WebControl {
// Public Constructors
   public Label( );
// Public Instance Properties
   public virtual string Text{set; get; }
// Protected Instance Methods
   protected override void AddParsedSubObject(object obj);      // overrides System.Web.UI.Control
   protected override void LoadViewState(object savedState);    // overrides WebControl
   protected override void RenderContents(System.Web.UI.HtmlTextWriter writer);  // overrides WebControl


System.Object System.Web.UI.Control(System.ComponentModel.IComponent, System.IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor) WebControl(System.Web.UI.IAttributeAccessor) Label



    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace