Skip to main content
A newer version of this page is available. .

LabelControl.PlainText Property

Gets the label’s plain text, stripping out HTML tags.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[DXCategory("Appearance")]
[Browsable(false)]
public string PlainText { get; }

Property Value

Type Description
String

A String value representing the label’s text without HTML tags.

Remarks

If the label’s text is formated using HTML tags (see LabelControl.AllowHtmlString), you can use the PlainText property to get the label’s plain text, stripping out HTML tags.

See Also