Back to Devexpress

ASPxLabel.Text Property

aspnet-devexpress-dot-web-dot-aspxlabel-cc118c9d.md

latest2.8 KB
Original Source

ASPxLabel.Text Property

Gets or sets the text caption displayed within the editor.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue("")]
public virtual string Text { get; set; }
vb
<DefaultValue("")>
Public Overridable Property Text As String

Property Value

TypeDefaultDescription
StringString.Empty

A String value representing the text within the editor.

|

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.

asp-net-web-forms-create-responsive-web-app/CS/ResponsiveWebApplication/GridViewDetailsPage.aspx.cs#L12

csharp
SubjectText.InnerHtml = HttpUtility.HtmlEncode(issue.Subject);
    IdLabel.Text = recordId.ToString();
}

asp-net-web-forms-implement-pdf-viewer/CS/PdfViewer.ascx.cs#L98

csharp
}
    lbErrorMessage.Text = String.Empty;
}

asp-net-web-forms-implement-pdf-viewer/VB/PdfViewer.ascx.vb#L105

vb
Me.lbErrorMessage.Text = System.[String].Empty
End Sub

Implements

Text

See Also

Label

ASPxLabel Class

ASPxLabel Members

DevExpress.Web Namespace