Mono Class Library: System.Web.UI.WebControls.HyperLink Overview | Members

System.Web.UI.WebControls.HyperLink.Text Property

Text sent to the browser as the explaining label of the System.Web.UI.WebControls.HyperLink (the text we all see in the hyperlinks).

[System.ComponentModel.Localizable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerDefaultProperty)]
[System.ComponentModel.DefaultValue("")]
[System.ComponentModel.Bindable(true)]
public virtual string Text { set; get; }

Value

Text of the anchor.

Remarks

The System.Web.UI.WebControls.HyperLink will be shown in form of text if the HyperLink.ImageUrl property is not set, using the HyperLink.Text property. If HyperLink.ImageUrl is set, the image will be displayed, but HyperLink.Text will be used as the alternative representation (typically the 'alt' attribute of the 'img' tag in html).

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0