This documentation is archived and is not being maintained.

ChtmlTextWriter::SuppressedAttributes Property

Gets a Hashtable object of user-specified suppressed attributes that are not rendered on cHTML elements.

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

protected:
property Hashtable^ SuppressedAttributes {
	Hashtable^ get ();
}

Property Value

Type: System.Collections::Hashtable
A Hashtable of suppressed cHTML attributes.

Use the RemoveRecognizedAttribute method to add attributes to the suppressed attributes collection.

The following list shows the default suppressed attributes that are set for a div element when a new instance of the ChtmlTextWriter class is created.

accesskey

gridlines

cellspacing

rules

cellpadding

The following list shows the default suppressed attributes that are set for a span element when a new instance of the ChtmlTextWriter class is created.

cellspacing

gridlines

cellpadding

rules

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: