This documentation is archived and is not being maintained.

HtmlControl Class

Defines the methods, properties, and events common to all HTML server controls in the Web Forms page framework.

For a list of all members of this type, see HtmlControl Members.


[Visual Basic]
MustInherit Public Class HtmlControl
   Inherits Control
   Implements IAttributeAccessor
public abstract class HtmlControl : Control, IAttributeAccessor
public __gc __abstract class HtmlControl : public Control,
public abstract class HtmlControl extends Control implements

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


The HtmlControl class provides common properties inherited by all HTML server control classes. A new instance of the class is not created directly.


Namespace: System.Web.UI.HtmlControls

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

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

See Also

HtmlControl Members | System.Web.UI.HtmlControls Namespace