Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SupportsHtmlEncode Property

BoundField.SupportsHtmlEncode Property

Gets a value indicating whether HTML encoding is supported by a BoundField object.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected virtual bool SupportsHtmlEncode { get; }

Property Value

Type: System.Boolean
Always returns true to indicate that HTML encoding is supported by a BoundField.

The SupportsHtmlEncode property is a helper property used by the BoundField class and derived classes to determine whether HTML encoding is supported by the class.

Notes to Inheritors

When deriving from the BoundField class, you can override this property to indicate whether HTML encoding is supported by the class.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft