Gets or sets a value indicating whether field values are HTML-encoded before they are displayed in a C1BoundField object.

Namespace:  C1.Web.UI.Controls.C1GridView
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
[DefaultValueAttribute(true)]
[JsonAttribute(true, true, true)]
public virtual bool HtmlEncode { get; set; }
Visual Basic
<DefaultValueAttribute(True)> _
<JsonAttribute(True, True, True)> _
Public Overridable Property HtmlEncode As Boolean
	Get
	Set

Field Value

True if field values are HTML-encoded before they are displayed in a C1BoundField object; otherwise, false. The default value is true.

See Also