Skip to main content

LabelControl.PlainText Property

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.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