BoundField.SupportsHtmlEncode Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 2.0
Return to top
Show: