This documentation is archived and is not being maintained.

XhtmlTextWriter::CommonAttributes Property

Gets a Hashtable object containing common attributes of the markup tags for the XhtmlTextWriter object.

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

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

Property Value

Type: System.Collections::Hashtable
A Hashtable object containing common attributes.

The CommonAttributes collection contains attributes that are allowed in XHTML elements and that are not suppressed in the SuppressCommonAttributes property. For more information on common attributes, see the World Wide Web Consortium (W3C) Web site.

When a new instance of the XhtmlTextWriter class is created, the common attributes that are initialized are:

  • class

  • id

  • title

  • xml:lang

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