Back to Devexpress

LabelControl.PlainText Property

windowsforms-devexpress-dot-xtraeditors-dot-labelcontrol-9b626041.md

latest1.6 KB
Original Source

LabelControl.PlainText Property

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

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Appearance")]
[Browsable(false)]
public string PlainText { get; }
vb
<DXCategory("Appearance")>
<Browsable(False)>
Public ReadOnly Property PlainText As String

Property Value

TypeDescription
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

AllowHtmlString

Text

HTML-inspired Text Formatting

LabelControl Class

LabelControl Members

DevExpress.XtraEditors Namespace