Export (0) Print
Expand All

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 Hashtable CommonAttributes { get; }
/** @property */
protected Hashtable get_CommonAttributes ()

protected function get CommonAttributes () : Hashtable

Not applicable.

Property Value

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

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

Show:
© 2015 Microsoft