Skip to main content
Tab

HyperLinkProperties.Text Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.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

Use the Text property to specify the text caption to display for the editor’s hyperlink. The Text property may be useful, for instance, when the hyperlink editor works as in-place within the ASPxGridView‘s column and it’s necessary to display the same editor’s caption for each row in the column.

Text is not HTML encoded before it is displayed in the hyperlink editor. This makes it possible to embed script within HTML tags in the text. If the values for the editor come from user input (when the editor is used as in-place, within the ASPxGridView for instance), make sure to validate the values to reduce security vulnerabilities.

The Text property is not in effect, if an image is specified for an editor via the ASPxHyperLink.ImageUrl property.

Note

The Text property synchronizes its value with the editor’s ASPxHyperLink.Text property.

See Also