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

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.v18.2.dll

Declaration

public override bool EncodeHtml { get; set; }

Property Value

Type Description
Boolean

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.

Remarks

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EncodeHtml 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.

See Also