![]() ![]() | ||
As discussed in the In Depth section of this chapter, the HtmlControl class defines the methods, properties, and events common to all HTML server controls in the Web Forms page framework. Here is the inheritance hierarchy for this class:
Object Control HtmlControl
You can find the noteworthy public properties of the HtmlControl class in Table 19.2.
Property |
Means |
---|---|
Attributes |
Holds all attribute name and value pairs for the server control's HTML element. |
Disabled |
Gets/sets whether the disabled attribute is included when an HTML control is displayed in the browser. |
Style |
Gets all cascading style sheet (CSS) properties for the specified HTML server control. |
TagName |
Gets the element name that contains the runat=server attribute. |
![]() ![]() | ||