aspnet-devexpress-dot-web-dot-aspxlabel-cc118c9d.md
Gets or sets the text caption displayed within the editor.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue("")]
public virtual string Text { get; set; }
<DefaultValue("")>
Public Overridable Property Text As String
| Type | Default | Description |
|---|---|---|
| String | String.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.
SubjectText.InnerHtml = HttpUtility.HtmlEncode(issue.Subject);
IdLabel.Text = recordId.ToString();
}
asp-net-web-forms-implement-pdf-viewer/CS/PdfViewer.ascx.cs#L98
}
lbErrorMessage.Text = String.Empty;
}
asp-net-web-forms-implement-pdf-viewer/VB/PdfViewer.ascx.vb#L105
Me.lbErrorMessage.Text = System.[String].Empty
End Sub
See Also