Back to Devexpress

DashboardBuilder.EncodeHtml(Boolean) Method

dashboard-devexpress-dot-dashboardaspnetcore-dot-dashboardbuilder-dot-encodehtml-x28-system-dot-boolean-x29.md

latest1.7 KB
Original Source

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.v25.2.AspNetCore.dll

NuGet Package : DevExpress.AspNetCore.Dashboard

Declaration

csharp
public DashboardBuilder EncodeHtml(
    bool encodeHtml
)
vb
Public Function EncodeHtml(
    encodeHtml As Boolean
) As DashboardBuilder

Parameters

NameTypeDescription
encodeHtmlBoolean

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

TypeDescription
DashboardBuilder

A reference to this instance after the operation has completed.

|

See Also

DashboardBuilder Class

DashboardBuilder Members

DevExpress.DashboardAspNetCore Namespace