Skip to main content

ASPxLabel.EncodeHtml Property

Gets or sets a value that specifies whether the editor’s element content is rendered as pure HTML, or HTML markers are stripped out.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.1.dll


public override bool EncodeHtml { get; set; }

Property Value

Type Description

true if the HTML code contained within the editor’s element content is not executed and is converted into the corresponding text for display purposes, false if the editor’s elements content can contain pure HTML code.


Refer to the HTML Encoding topic for more information on DevExpress ASP.NET controls encoding.

This property is a wrapper of the EditPropertiesBase.EncodeHtml property.

See Also