System.Web.UI.WebControls.Label Members

The members of System.Web.UI.WebControls.Label are listed below.

See Also: Inherited members from System.Web.UI.WebControls.WebControl

Public Constructors

Initializes a new instance of the System.Web.UI.WebControls.Label class.

Public Properties

AssociatedControlIDstring.

Gets or sets the identifier for a server control that the System.Web.UI.WebControls.Label control is associated with.

Textstring.

Gets or sets the text content of the System.Web.UI.WebControls.Label control.

Protected Properties

[read-only]
override
TagKeySystem.Web.UI.HtmlTextWriterTag.

Gets the HTML tag that is used to render the System.Web.UI.WebControls.Label control.

Protected Methods

override
AddAttributesToRender(System.Web.UI.HtmlTextWriter)

Adds the HTML attributes and styles of a System.Web.UI.WebControls.Label control to render to the specified output stream.

override
AddParsedSubObject(object)

Notifies the control that an element was parsed and adds the element to the System.Web.UI.WebControls.Label control.

override
LoadViewState(object)

Loads the previously saved state for the control.

override
RenderContents(System.Web.UI.HtmlTextWriter)

Renders the contents of the System.Web.UI.WebControls.Label into the specified writer.