Skip to main content

DashboardBuilder.EncodeHtml(Boolean) Method

Specifies whether the web control’s value and element content are rendered as pure HTML, or HTML markers are stripped out.

Namespace: DevExpress.DashboardAspNetCore

Assembly: DevExpress.Dashboard.v24.1.AspNetCore.dll

NuGet Package: DevExpress.AspNetCore.Dashboard

Declaration

public DashboardBuilder EncodeHtml(
    bool encodeHtml
)

Parameters

Name Type Description
encodeHtml Boolean

true if the HTML code contained within the web control’s value and element content are not executed and are converted into the corresponding text for display purposes; false if the web control’s value and element content can contain pure HTML code.

Returns

Type Description
DashboardBuilder

A reference to this instance after the operation has completed.

See Also