DashboardBuilder.EncodeHtml(Boolean) Method
In This Article
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.2.AspNetCore.dll
NuGet Package: DevExpress.AspNetCore.Dashboard
#Declaration
public DashboardBuilder EncodeHtml(
bool encodeHtml
)
#Parameters
Name | Type | Description |
---|---|---|
encode |
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 |
---|---|
Dashboard |
A reference to this instance after the operation has completed. |
See Also