DisplayFormatAttribute.HtmlEncode Property


Gets or sets a value that indicates whether the field should be HTML-encoded.

 property bool HtmlEncode { bool get(); void set(bool value); };
public bool HtmlEncode { get; set; }
member this.HtmlEncode : bool with get, set
Public Property HtmlEncode As Boolean

Property Value

true if the field should be HTML-encoded; otherwise, false.

Applies to