DisplayFormatAttribute.HtmlEncode Property

Definition

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

public:
 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