Name
Label
Synopsis
This class represents a Label control, which allows you to place text on a
page and modify it in 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 : Inherits WebControl ' Public Constructors Public Sub New() ' Public Instance Properties Overridable Public Property Text As String ' Protected Instance Methods Overrides Protected Sub AddParsedSubObject( ByVal obj As Object) Overrides Protected Sub LoadViewState( ByVal savedState As Object) Overrides Protected Sub RenderContents( ByVal writer As System.Web.UI.HtmlTextWriter) End Class
Hierarchy
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
Get ASP.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.