XhtmlTextWriter.SuppressCommonAttributes Property

Definition

Gets a Hashtable object of elements for which CommonAttributes attributes are suppressed.

C#
protected System.Collections.Hashtable SuppressCommonAttributes { get; }

Property Value

A Hashtable of elements containing a collection of CommonAttributes that are not rendered.

Remarks

The suppressed attribute collection includes a list of XHTML elements for which CommonAttributes attributes are not rendered.

When a new instance of the XhtmlTextWriter class is created, the Hashtable object of elements for which CommonAttributes attributes are suppressed includes:

  • base

  • meta

  • br

  • head

  • title

  • html

  • style

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also