System.Web.UI.HtmlControls 命名空间

System.Web.UI.HtmlControls 命名空间包含的类允许在 Web 窗体页上创建 HTML 服务器控件。 The System.Web.UI.HtmlControls namespace contains classes that allow you to create HTML server controls on a Web Forms page. HTML 服务器控件运行在服务器上,并且直接映射到大多数浏览器所支持的标准 HTML 标记。 HTML server controls run on the server and map directly to standard HTML tags supported by most browsers. 这使您得以以编程方式控制 Web 窗体页上的 HTML 元素。 This allows you to programmatically control the HTML elements on a Web Forms page.

HtmlAnchor

允许对服务器上的 HTML <a> 元素进行编程访问。Allows programmatic access to the HTML <a> element on the server.

HtmlArea

提供对服务器上的 HTML <area> 元素的编程访问。Provides programmatic access to the HTML <area> element on the server.

HtmlAudio

提供对服务器上的 HTML <audio> 元素的编程访问。Provides programmatic access to the HTML <audio> element on the server.

HtmlButton

允许以编程方式访问服务器上的 HTML <button> 标记。Allows programmatic access to the HTML <button> tag on the server.

HtmlContainerControl

作为映射到需具有开始和结束标记的 HTML 元素的 HTML 服务器控件的抽象基类。Serves as the abstract base class for HTML server controls that map to HTML elements that are required to have an opening and a closing tag.

HtmlControl

定义 ASP.NET 页框架中的所有 HTML 服务器控件所通用的方法、属性和事件。Defines the methods, properties, and events common to all HTML server controls in the ASP.NET page framework.

HtmlElement

提供对服务器上代表文档根目录的文档 <html> 元素的编程访问。Provides programmatic access to the document's <html> element on the server, which represents the document's root.

HtmlEmbed

提供对服务器上的 HTML embed 元素的编程访问。Provides programmatic access to the HTML embed element on the server.

HtmlEmptyTagControlBuilder

与页分析器进行交互,以生成不具有主体或结束标记的 HTML 服务器控件。Interacts with the page parser to build HTML server controls that do not have a body or closing tag. 此类不能被继承。This class cannot be inherited.

HtmlForm

提供对服务器上的 HTML <form> 元素的编程访问。Provides programmatic access to the HTML <form> element on the server.

HtmlGenericControl

定义未由特定 .NET Framework 类表示的所有 HTML 服务器控件元素的方法、属性和事件。Defines the methods, properties, and events for all HTML server control elements not represented by a specific .NET Framework class.

HtmlHead

提供对服务器代码中 HTML head 元素的编程访问。Provides programmatic access to the HTML head element in server code.

HtmlHeadBuilder

与分析器进行交互以生成 HtmlHead 控件。Interacts with the parser to build an HtmlHead control.

HtmlIframe

提供对服务器上的 HTML <iframe> 元素的编程访问。Provides programmatic access to the HTML <iframe> element on the server.

HtmlImage

提供对服务器上 HTML <img> 元素的编程访问。Provides programmatic access for the HTML <img> element on the server.

HtmlInputButton

允许对服务器上的 HTML <input type= button><input type= submit><input type= reset> 元素进行编程访问。Allows programmatic access to the HTML <input type= button>, <input type= submit>, and <input type= reset> elements on the server.

HtmlInputCheckBox

允许对服务器上的 HTML <input type= checkbox> 元素进行编程访问。Allows programmatic access to the HTML <input type= checkbox> element on the server.

HtmlInputControl

用作定义所有 HTML 输入控件通用的方法、属性和事件的抽象基类,如 <input type=text><input type=submit><input type= file> 元素。Serves as the abstract base class that defines the methods, properties, and events common to all HTML input controls, such as the <input type=text>, <input type=submit>, and <input type= file> elements.

HtmlInputFile

允许对服务器上的 HTML <input type= file> 元素进行编程访问。Allows programmatic access to the HTML <input type= file> element on the server.

HtmlInputGenericControl

定义服务器端访问 HTML5 input 元素所使用的方法、属性和事件。Defines the methods, properties, and events for server-side access to the HTML5 input element.

HtmlInputHidden

允许对服务器上的 HTML <input type=hidden> 元素进行编程访问。Allows programmatic access to the HTML <input type=hidden> element on the server.

HtmlInputImage

允许对服务器上的 HTML <input type= image> 元素进行编程访问。Allows programmatic access to the HTML <input type= image> element on the server.

HtmlInputPassword

允许对服务器上的 HTML <input type= password> 元素进行编程访问。Allows programmatic access to the HTML <input type= password> element on the server.

HtmlInputRadioButton

允许对服务器上的 HTML <input type= radio> 元素进行编程访问。Allows programmatic access to the HTML <input type= radio> element on the server.

HtmlInputReset

允许对服务器上的 HTML <input type=reset> 元素进行编程访问。Allows programmatic access to the HTML <input type=reset> element on the server.

HtmlInputSubmit

允许对服务器上的 HTML <input type= submit> 元素进行编程访问。Allows programmatic access to the HTML <input type= submit> element on the server.

HtmlInputText

允许对服务器上的 HTML <input type= text><input type= password> 元素进行编程访问。Allows programmatic access to the HTML <input type= text> and <input type= password> elements on the server.

HtmlLink

允许对服务器上的 HTML link 元素进行编程访问。Allows programmatic access to the HTML link element on the server.

HtmlMeta

允许以编程方式访问服务器上的 HTML <meta> 标记。Allows programmatic access to the HTML <meta> tag on the server.

HtmlSelect

允许对服务器上的 HTML <select> 元素进行编程访问。Allows programmatic access to the HTML <select> element on the server.

HtmlSelectBuilder

与分析器进行交互以生成 HtmlSelect 控件。Interacts with the parser to build an HtmlSelect control.

HtmlSource

提供对服务器上的 HTML <source> 元素的编程访问。Provides programmatic access to the HTML <source> element on the server.

HtmlTable

允许在服务器上对 HTML <table> 元素进行编程访问。Allows programmatic access on the server to the HTML <table> element.

HtmlTable.HtmlTableRowControlCollection

表示作为 HtmlTableRow 控件的行的 HtmlTable 对象的集合。Represents a collection of HtmlTableRow objects that are the rows of an HtmlTable control.

HtmlTableCell

表示 HtmlTableRow 对象中的 <td><th> HTML 元素。Represents the <td> and <th> HTML elements in an HtmlTableRow object.

HtmlTableCellCollection

HtmlTableCell 对象的集合,这些对象表示 HtmlTable 控件的一个行中的单元格。A collection of HtmlTableCell objects that represent the cells in a single row of an HtmlTable control. 此类不能被继承。This class cannot be inherited.

HtmlTableRow

表示 HtmlTable 控件中的 <tr> HTML 元素。Represents the <tr> HTML element in an HtmlTable control.

HtmlTableRow.HtmlTableCellControlCollection

表示 HtmlTableCell 对象的集合,该对象作为 HtmlTableRow 控件的单元格。Represents a collection of HtmlTableCell objects that are the cells of an HtmlTableRow control.

HtmlTableRowCollection

HtmlTableRow 对象的集合,这些对象表示 HtmlTable 控件中的行。A collection of HtmlTableRow objects that represent the rows of an HtmlTable control. 此类不能被继承。This class cannot be inherited.

HtmlTextArea

允许编程访问服务器上的 <textarea> HTML 元素。Allows programmatic access to the <textarea> HTML element on the server.

HtmlTitle

允许对服务器上的 HTML <title> 元素进行编程访问。Allows programmatic access to the HTML <title> element on the server.

HtmlTrack

提供对 HTML <track> 元素的编程式访问。Provides programmatic access to the HTML <track> element.

HtmlVideo

提供对服务器上的 HTML <video> 元素的编程访问。Provides programmatic access to the HTML <video> element on the server.

另请参阅