Skip to main content
Tab

ASPxHyperLink.Text Property

Gets or sets the text caption displayed for the hyperlink in the hyperlink editor.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("")]
public string Text { get; set; }

Property Value

Type Default Description
String String.Empty

A String value specifying the text caption for the hyperlink in the editor.

Remarks

This property is a wrapper of the HyperLinkProperties.Text property.

Example

This example demonstrates how to customize the ASPxHyperLink control.

<dx:ASPxHyperLink ID="ASPxHyperLink1" runat="server" Text="DevExpress" NavigateUrl="http://devexpress.com/" 
    ImageUrl="~/imgs/logo.png">
</dx:ASPxHyperLink>

The following code snippets (auto-collected from DevExpress Examples) contain references to the Text property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also