System.Web.UI Namespace

System.Web.UI命名空间提供可用于创建用作 ASP.NET Web 应用程序用户界面的 ASP.NET 服务器控件和 ASP.NET 网页的类和接口。 The System.Web.UI namespace provides classes and interfaces that enable you to create ASP.NET server controls and ASP.NET Web pages for the user interface of your ASP.NET Web applications.

AsyncPostBackErrorEventArgs

AsyncPostBackError 事件提供数据。Provides data for the AsyncPostBackError event.

AsyncPostBackTrigger

定义一个控件,并将该控件的可选事件定义为导致 UpdatePanel 控件刷新的异步回发控件触发器。Defines a control and optional event of the control as an asynchronous postback control trigger that causes an UpdatePanel control to refresh.

AttributeCollection

提供对 ASP.NET 服务器控件元素的开始标记中声明的所有特性的对象模型访问。Provides object-model access to all attributes declared in the opening tag of an ASP.NET server control element. 此类不能被继承。This class cannot be inherited.

AuthenticationServiceManager

配置身份验证服务的自定义实现的位置。Configures the location of a custom implementation of the authentication service.

BaseParser

为在分析 ASP.NET 页请求和服务器控件过程中涉及的类提供一组基本功能。Provides a base set of functionality for classes involved in parsing ASP.NET page requests and server controls.

BasePartialCachingControl

StaticPartialCachingControlPartialCachingControl 类提供基本功能。Provides the base functionality for the StaticPartialCachingControl and PartialCachingControl classes.

BaseTemplateParser

实现对模板文件的 ASP.NET 模板分析。Implements ASP.NET template parsing for template files.

BindableTemplateBuilder

支持数据绑定控件的页分析,这些控件自动绑定到模板化内容部分中的 ASP.NET 数据源控件。Supports page parsing of data-bound controls that automatically bind to an ASP.NET data source control within templated content sections. 此类不能被继承。This class cannot be inherited.

BoundPropertyEntry

表示数据绑定到表达式的控件属性。Represents a control property that is data-bound to an expression.

BuilderPropertyEntry

用作需要控件生成器的所有属性项的基类。Serves as the base class for all property entries that require a control builder.

ChtmlTextWriter

向 ASP.NET 服务器控件的输出流写入一系列特定于 cHTML 的字符和文本。Writes a series of cHTML-specific characters and text to the output stream of an ASP.NET server control. ChtmlTextWriter 类提供 ASP.NET 服务器控件在将 cHTML 内容呈现给客户端时所使用的格式化功能。The ChtmlTextWriter class provides formatting capabilities that ASP.NET server controls use when rendering cHTML content to clients.

ClientScriptManager

在 Web 应用程序中定义用于管理客户端脚本的方法。Defines methods for managing client scripts in Web applications.

CodeStatementBuilder

生成“代码 DOM”声明。Generates Code DOM statements.

CompiledBindableTemplateBuilder

提供 IBindableTemplate 对象的默认实现,ASP.NET 只要分析 ASP.NET 控件(如 FormView)的模板化内容的双向数据绑定,就会使用该对象。Provides the default implementation of an IBindableTemplate object, which ASP.NET uses whenever it parses two-way data-binding within the templated content of an ASP.NET control such as FormView. 此类不能被继承。This class cannot be inherited.

CompiledTemplateBuilder

ITemplate 实现,在生成的页类代码中调用。An ITemplate implementation that is called from the generated page class code. 此类不能被继承。This class cannot be inherited.

ComplexPropertyEntry

用作读/写和只读属性(例如模板)的属性项。Serves as the property entry for read/write and read-only properties such as templates.

CompositeScriptReference

表示要合并为单一复合脚本的脚本引用的集合。Represents a collection of script references to combine into a single composite script.

CompositeScriptReferenceEventArgs

ResolveCompositeScriptReference 事件提供数据。Provides data for the ResolveCompositeScriptReference event.

ConstructorNeedsTagAttribute

指定服务器控件在其构造函数中需要标记名称。Specifies that a server control needs a tag name in its constructor.

Control

定义由所有 ASP.NET 服务器控件共享的属性、方法和事件。Defines the properties, methods, and events that are shared by all ASP.NET server controls.

ControlBuilder

支持页分析器生成控件及其包含的子控件。Supports the page parser in building a control and the child controls it contains.

ControlBuilderAttribute

指定用于在 ASP.NET 分析器内生成自定义控件的 ControlBuilder 类。Specifies a ControlBuilder class for building a custom control within the ASP.NET parser. 此类不能被继承。This class cannot be inherited.

ControlCachePolicy

提供对 ASP.NET 用户控件的输出缓存设置的编程访问。Provides programmatic access to an ASP.NET user control's output cache settings.

ControlCollection

提供使 ASP.NET 服务器控件能够维护其子控件列表的集合容器。Provides a collection container that enables ASP.NET server controls to maintain a list of their child controls.

ControlSkin

表示控件外观,控件外观是一种用于定义应用于 ASP.NET Web 服务器控件的样式属性的方式。Represents a control skin, which is a means to define stylistic properties that are applied to an ASP.NET Web server control.

ControlValuePropertyAttribute

指定 ControlParameter 对象在运行时绑定到的控件的默认属性。Specifies the default property of a control that a ControlParameter object binds to at run time. 此类不能被继承。This class cannot be inherited.

CssClassPropertyAttribute

设计时,将级联样式表 (CSS) 编辑功能添加到属性。Adds Cascading Style Sheet (CSS) editing capabilities to a property at design time.

CssStyleCollection

包含指定 HTML 服务器控件的 HTML 级联式样式表 (CSS) 内嵌样式特性。Contains the HTML cascading-style sheets (CSS) inline style attributes for a specified HTML server control. 此类不能被继承。This class cannot be inherited.

DataBinder

提供对应用程序快速开发 (RAD) 设计器的支持以生成和分析数据绑定表达式语法。Provides support for rapid application development (RAD) designers to generate and parse data-binding expression syntax. 此类不能被继承。This class cannot be inherited.

DataBinding

包含有关 ASP.NET 服务器控件中的单个数据绑定表达式的信息,这些信息可让快速应用程序开发 (RAD) 设计器(如 Microsoft Visual Studio)能够在设计时创建数据绑定表达式。Contains information about a single data-binding expression in an ASP.NET server control, which allows rapid-application development (RAD) designers, such as Microsoft Visual Studio, to create data-binding expressions at design time. 此类不能被继承。This class cannot be inherited.

DataBindingCollection

为 ASP.NET 服务器控件提供 DataBinding 对象的集合。Provides a collection of DataBinding objects for an ASP.NET server control. 此类不能被继承。This class cannot be inherited.

DataBindingHandlerAttribute

指定一个设计时类,用于执行设计器内的控件数据绑定。Specifies a design-time class that performs data binding of controls within a designer. 此类不能被继承。This class cannot be inherited.

DataBoundLiteralControl

保留数据绑定表达式和静态文本。Retains data-binding expressions and static literal text. 此类不能被继承。This class cannot be inherited.

DataControlExtensions

提供 ASP.NET 动态数据所使用的扩展方法。Provides extension methods that are used by ASP.NET Dynamic Data.

DataKeyPropertyAttribute

指定 ControlParameter 属性在运行时绑定到的控件的默认属性。Specifies the default property of a control that the ControlParameter property binds to at run time.

DataSourceCacheDurationConverter

提供能将 32 位带符号整数对象与数据源控件缓存持续时间表示形式相互转换的类型转换器。Provides a type converter to convert 32-bit signed integer objects to and from data source control cache duration representations.

DataSourceControl

作为某些控件的基类,这些控件表示数据绑定控件的的数据源。Serves as the base class for controls that represent data sources to data-bound controls.

DataSourceControlBuilder

支持页分析器生成连接到数据提供程序的控件。Supports the page parser in building controls that are connected to a data provider. 此类不能被继承。This class cannot be inherited.

DataSourceSelectArguments

提供一种机制,数据绑定控件可使用这种机制向数据源控件请求在检索数据之后执行与数据相关的操作。Provides a mechanism that data-bound controls use to request data-related operations from data source controls when data is retrieved. 此类不能被继承。This class cannot be inherited.

DataSourceView

用作所有数据源视图类的基类,这些视图类定义数据源控件的功能。Serves as the base class for all data source view classes, which define the capabilities of data source controls.

DesignerDataBoundLiteralControl

表示 DataBoundLiteralControl 控件的设计时版本。Represents the design-time version of the DataBoundLiteralControl control. 此类不能被继承。This class cannot be inherited.

DesignTimeParseData

在设计时将信息提供给分析器。Provides information to the parser during design time.

DesignTimeTemplateParser

在设计时提供分析。Provides parsing at design time.

EmptyControlCollection

对始终为空白的 ControlCollection 集合提供标准支持。Provides standard support for a ControlCollection collection that is always empty.

EventEntry

作为事件处理程序的属性项。Acts as the property entry for event handlers.

ExpressionBinding

支持表达式绑定实例的分析和保留。Supports the parsing and persisting of an expression-binding instance. 此类不能被继承。This class cannot be inherited.

ExpressionBindingCollection

表示 ExpressionBinding 对象集合。Represents a collection of ExpressionBinding objects. 此类不能被继承。This class cannot be inherited.

ExtenderControl

对于扩展程序控件提供一个抽象基类。Provides an abstract base class for an extender control.

FileLevelControlBuilderAttribute

允许从 TemplateControl 派生的类指定在分析文件时在生成器树的最高级别使用的控件生成器。Allows a TemplateControl-derived class to specify the control builder used at the top level of the builder tree when parsing the file. 此类不能被继承。This class cannot be inherited.

FileLevelMasterPageControlBuilder

分析母版页文件。Parses master page files.

FileLevelPageControlBuilder

分析页面文件,并且是分析页面文件的默认 ControlBuilder 类。Parses page files and is the default ControlBuilder class for parsing page files.

FileLevelUserControlBuilder

通过指定用于分析用户控件文件的 FileLevelUserControlBuilder 类来支持页分析器生成用户控件。Supports the page parser in building a user control by specifying the FileLevelUserControlBuilder class that is used to parse the user control file.

FilterableAttribute

指定要向其应用特性的属性是否支持设备筛选。Specifies whether the property to which the attribute is applied supports device filtering. 此类不能被继承。This class cannot be inherited.

HiddenFieldPageStatePersister

在 Web 客户端上以隐藏的 HTML 元素存储 ASP.NET 页面视图状态。Stores ASP.NET page view state on the Web client in a hidden HTML element.

HierarchicalDataSourceControl

为表示分层数据的数据源控件提供基类。Provides a base class for data source controls that represent hierarchical data.

HierarchicalDataSourceView

表示 HierarchicalDataSourceControl 控件的分层数据结构中的节点或节点集合上的数据视图。Represents a data view on a node or collection of nodes in a hierarchical data structure for a HierarchicalDataSourceControl control.

HistoryEventArgs

Navigate 事件提供数据。Provides data for the Navigate event.

Html32TextWriter

向 ASP.NET 服务器控件的输出流写入一系列特定于 HTML 3.2 的字符和文本。Writes a series of HTML 3.2-specific characters and text to the output stream for an ASP.NET server control. Html32TextWriter 类提供 ASP.NET 服务器控件在将 HTML 3.2 内容呈现给客户端时所使用的格式化功能。The Html32TextWriter class provides formatting capabilities that ASP.NET server controls use when rendering HTML 3.2 content to clients.

HtmlTextWriter

将标记字符和文本写入 ASP.NET 服务器控件输出流。Writes markup characters and text to an ASP.NET server control output stream. 此类提供 ASP.NET 服务器控件在向客户端呈现标记时使用的格式化功能。This class provides formatting capabilities that ASP.NET server controls use when rendering markup to clients.

IDReferencePropertyAttribute

定义应用于包含 ID 引用的属性的属性。Defines an attribute applied to properties that contain ID references. 此类不能被继承。This class cannot be inherited.

ImageClickEventArgs

为用户在单击基于图像的 ASP.NET 服务器控件(如 HtmlInputImageImageButton 服务器控件)时所发生的任何事件提供数据。Provides data for any events that occur when a user clicks an image-based ASP.NET server control, such as the HtmlInputImage or ImageButton server controls. 此类不能被继承。This class cannot be inherited.

IndexedString

提供 ObjectStateFormatter 类用来优化对象图序列化的实用工具字符串类。Provides a utility string class that is used by the ObjectStateFormatter class to optimize object graph serialization. 此类不能被继承。This class cannot be inherited.

ListSourceHelper

在实现由 IListSource 接口定义的成员时,由数据源控件使用。Used by data source controls when implementing the members defined by the IListSource interface. 此类不能被继承。This class cannot be inherited.

LiteralControl

表示 HTML 元素、文本和 ASP.NET 页中不需要在服务器上处理的其他任何字符串。Represents HTML elements, text, and any other strings in an ASP.NET page that do not require processing on the server.

LosFormatter

序列化 Web 窗体页的视图状态。Serializes the view state for a Web Forms page. 此类不能被继承。This class cannot be inherited.

MasterPage

充当仅由 Content 控件和它们各自的子控件组成的页面的模板和合并容器。Acts as a template and merging container for pages that are composed only of Content controls and their respective child controls.

MasterPageControlBuilder

作为仅由 Content 控件和各自的子控件构成的内容页的合并类和容器。Acts as a merging class and container for content pages that are composed only of Content controls and their respective child controls.

NonVisualControlAttribute

定义指示在设计时将控件视为可视控件还是非可视控件的特性。Defines the attribute that indicates whether a control is treated as a visual or non-visual control during design time. 此类不能被继承。This class cannot be inherited.

ObjectConverter

将对象从一种对象类型转换为另一种对象类型。Converts an object from one object type to another object type. 此类已过时。This class is obsolete. 请换用 Convert 类和 Format(String, Object) 方法。Use the Convert class and the Format(String, Object) method instead.

ObjectPersistData

在生成过程中,保留属性项的信息。During the build process, retains information about property entries.

ObjectStateFormatter

序列化和反序列化表示对象状态的对象图。Serializes and deserializes object graphs that represent the state of an object. 此类不能被继承。This class cannot be inherited.

ObjectTagBuilder

由 ASP.NET TemplateParser 类用于分析服务器端 <object> 标记。Used by the ASP.NET TemplateParser class to parse server-side <object> tags. 无法继承此类。This class can not be inherited.

OutputCacheParameters

封装 ASP.NET 根据 @ OutputCache 页指令分析的输出缓存初始化设置。Encapsulates the output cache initialization settings parsed from an @ OutputCache page directive by ASP.NET. 此类不能被继承。This class cannot be inherited.

Page

表示从 ASP.NET Web 应用程序的宿主服务器请求的 .aspx 文件(又称为 Web 窗体页)。Represents an .aspx file, also known as a Web Forms page, requested from a server that hosts an ASP.NET Web application.

PageAsyncTask

包含有关注册到页的异步任务的信息。Contains information about an asynchronous task registered to a page. 此类不能被继承。This class cannot be inherited.

PageHandlerFactory

创建从 Page 类继承并实现 IHttpHandler 接口的类的实例。Creates instances of classes that inherit from the Page class and implement the IHttpHandler interface. 实例被动态地创建以处理针对 ASP.NET 文件的请求。Instances are created dynamically to handle requests for ASP.NET files. PageHandlerFactory 类是 ASP.NET 页的默认处理程序工厂实现。The PageHandlerFactory class is the default handler factory implementation for ASP.NET pages.

PageParser

为 .aspx 文件实现分析器。Implements a parser for .aspx files. 此类不能被继承。This class cannot be inherited.

PageParserFilter

为 ASP.NET 分析器所使用的页分析器筛选器提供一个抽象基类,以确定分析时是否允许在页中包含某项。Provides an abstract base class for a page parser filter that is used by the ASP.NET parser to determine whether an item is allowed in the page at parse time.

PageStatePersister

为 ASP.NET 视图状态持久性机制提供基本功能。Provides the base functionality for ASP.NET view state persistence mechanisms.

PageTheme

表示页主题的基类,页主题是用于定义网站中的页和控件之间统一外观的资源的集合。Represents the base class for a page theme, which is a collection of resources that are used to define a consistent look across pages and controls in a Web site. 可以通过配置或页指令设置页主题。The page theme can be set through configuration or the page directive.

Pair

提供用于存储两个相关对象的基本实用工具类。Provides a basic utility class that is used to store two related objects.

ParseChildrenAttribute

定义可在开发 ASP.NET 服务器控件时使用的元数据特性。Defines a metadata attribute that you can use when developing ASP.NET server controls. 使用 ParseChildrenAttribute 类指示页分析器应如何处理页上声明的服务器控件标记中嵌套的内容。Use the ParseChildrenAttribute class to indicate how the page parser should treat content nested inside a server control tag declared on a page. 此类不能被继承。This class cannot be inherited.

ParseRecorder

需要在页分析过程中告知页分析事件的对象的抽象基类。Abstract base class for objects that need to be notified of parse events during page parsing.

PartialCachingAttribute

定义 Web 窗体用户控件(.ascx 文件)用于指示是否以及如何缓存其输出的元数据特性。Defines the metadata attribute that Web Forms user controls (.ascx files) use to indicate if and how their output is cached. 此类不能被继承。This class cannot be inherited.

PartialCachingControl

在以下情况时创建:使用 @ OutputCache 页指令或 PartialCachingAttribute 属性为输出缓存指定用户控件(.ascx 文件),并且通过用 LoadControl(String) 方法动态加载用户控件,将用户控件插入页的控件层次结构。Created when a user control (.ascx file) is specified for output caching, using either the @ OutputCache page directive or the PartialCachingAttribute attribute, and the user control is inserted into a page's control hierarchy by dynamically loading the user control with the LoadControl(String) method.

PersistChildrenAttribute

定义一个特性,该特性由 ASP.NET 服务器控件用于指示在设计时服务器控件中包含的嵌套内容是与控件对应,还是与服务器控件的属性对应。Defines an attribute that is used by ASP.NET server controls to indicate at design time whether nested content that is contained within a server control corresponds to controls or to properties of the server control. 此类不能被继承。This class cannot be inherited.

PersistenceModeAttribute

定义元数据特性,用于指定如何在设计时将 ASP.NET 服务器控件属性或事件保存到 ASP.NET 页。Defines the metadata attribute that specifies how an ASP.NET server control property or event is persisted to an ASP.NET page at design time. 此类不能被继承。This class cannot be inherited.

PostBackOptions

指定如何生成客户端 JavaScript 以启动回发事件。Specifies how client-side JavaScript is generated to initiate a postback event.

PostBackTrigger

UpdatePanel 控件内部的控件定义为回发控件。Defines a control inside a UpdatePanel control as a postback control.

ProfileServiceManager

配置一组预加载的配置文件属性和配置文件服务的自定义实现的位置。Configures a set of preloaded profile properties and the location of a custom implementation of the profile service.

PropertyConverter

包含用于在属性值和字符串之间进行转换的帮助器函数。Contains helper functions to convert property values to and from strings.

PropertyEntry

作为所有属性项类的基类。Acts as the base class for all property entry classes.

RegisteredArrayDeclaration

提供对先前已向 Page 对象注册的 ECMAScript (JavaScript) 数组声明的访问。Provides access to an ECMAScript (JavaScript) array declaration that was previously registered with the Page object.

RegisteredDisposeScript

用于访问 UpdatePanel 控件内部某个控件的 dispose 脚本。Provides access to a dispose script for a control that is inside an UpdatePanel control.

RegisteredExpandoAttribute

用于访问先前已向 Page 对象注册的自定义 (expando) 特性的名称/值对。Provides access to the name/value pair of a custom (expando) attribute that was previously registered with the Page object.

RegisteredHiddenField

用于访问先前已向 Page 对象注册的隐藏值。Provides access to a hidden value that was previously registered with the Page object.

RegisteredScript

用来访问先前已向 Page 对象注册的客户端脚本。Provides access to a client script that was previously registered with the Page object.

RenderTraceListener

提供对象摘要基类,该对象作为控件监视,并在页面请求期间渲染。Provides the abstract base class for an object that monitors as controls are rendering during a page request.

RoleServiceManager

配置角色服务的自定义实现的位置。Configures the location of a custom implementation of the role service.

RootBuilder

支持页分析器定义如何分析内容的行为。Supports the page parser in defining the behavior for how content is parsed.

ScriptBehaviorDescriptor

扩展 ScriptComponentDescriptor 类以提供包装程序来定义转换为客户端脚本的行为。Extends the ScriptComponentDescriptor class to provide a wrapper for defining behaviors that are converted into client script.

ScriptComponentDescriptor

提供用于将服务器组件转换为客户端脚本的包装程序。Provides a wrapper for converting server components into client script.

ScriptControl

为脚本控件提供一个抽象基类。Provides an abstract base class for a script control.

ScriptControlDescriptor

定义客户端控件对象。Defines a client control object.

ScriptDescriptor

在派生类中重写时,定义可创建客户端类的一个实例的脚本。When overridden in a derived class, defines script that creates an instance of a client class.

ScriptManager

为 Web 和应用程序服务管理 ASP.NET Ajax 脚本库和脚本文件、部分页面呈现以及客户端代理类生成。Manages ASP.NET Ajax script libraries and script files, partial-page rendering, and client proxy class generation for Web and application services.

ScriptManagerProxy

当已在父元素中定义 ScriptManager 控件时,使嵌套组件(如内容页和用户控件)可以将脚本和服务引用添加到页中。Enables nested components such as content pages and user controls to add script and service references to pages when a ScriptManager control is already defined in a parent element.

ScriptReference

注册 ECMAScript (JavaScript) 文件,以便在 ASP.NET 网页上使用。Registers an ECMAScript (JavaScript) file for use on an ASP.NET Web page.

ScriptReferenceBase

所有脚本引用类的基类。The base class for all script reference classes.

ScriptReferenceCollection

表示脚本引用的集合。Represents a collection of script references.

ScriptReferenceEventArgs

ResolveScriptReference 事件提供数据。Provides data for the ResolveScriptReference event.

ScriptResourceAttribute

在程序集内定义要从客户端脚本文件使用的资源。Defines a resource in an assembly to be used from a client script file. 此类不能被继承。This class cannot be inherited.

ScriptResourceDefinition

定义脚本资源的位置。Defines the location of a script resource.

ScriptResourceMapping

提供对脚本资源的位置映射支持。Provides location mapping support for script resources.

ServiceReference

注册要在网页中使用的 Web 服务。Registers a Web service for use in a Web page.

ServiceReferenceCollection

包含一组 ServiceReference 对象。Contains a set of ServiceReference objects.

SessionPageStatePersister

在 Web 服务器上存储 ASP.NET 页视图状态。Stores ASP.NET page view state on the Web server.

SimplePropertyEntry

表示控件属性和其值的定义。Represents the definition of the control property and its value.

SimpleWebHandlerParser

提供用于分析 Web 处理程序文件的基本功能。Provides base functionality for parsing Web handler files.

SkinBuilder

提供一个 ControlBuilder 对象,用于在设计时将控件外观应用于控件。Provides a ControlBuilder object used at design time to apply control skins to controls.

StateBag

管理 ASP.NET 服务器控件(包括页)的视图状态。Manages the view state of ASP.NET server controls, including pages. 此类不能被继承。This class cannot be inherited.

StateItem

表示视图状态信息在 Web 请求间持续时保存在 StateBag 类中的项。Represents an item that is saved in the StateBag class when view state information is persisted between Web requests. 此类不能被继承。This class cannot be inherited.

StateManagedCollection

为管理 IStateManager 对象的所有强类型集合提供基类。Provides a base class for all strongly typed collections that manage IStateManager objects.

StaticPartialCachingControl

表示为输出缓存指定并以声明方式包含在页或其他用户控件中的 UserControl 类的实例。Represents an instance of the UserControl class that is specified for output caching and included declaratively in a page or another user control.

SupportsEventValidationAttribute

定义元数据特性,Web 服务器控件使用它来表明支持事件验证。Defines the metadata attribute that Web server controls use to indicate support for event validation. 此类不能被继承。This class cannot be inherited.

TagPrefixAttribute

定义在网页中用于标识自定义控件的标记前缀。Defines the tag prefix used in a Web page to identify custom controls. 此类不能被继承。This class cannot be inherited.

TargetControlTypeAttribute

扩展 Attribute 类,以指示扩展程序控件可应用到的服务器控件的类型。Extends the Attribute class to indicate the type of server control that an extender control can be applied to.

TemplateBuilder

支持在生成模板及其包含的子控件时使用的页分析器。Supports the page parser in building a template and the child controls it contains.

TemplateContainerAttribute

声明属性的容器控件的基类型,该属性返回 ITemplate 接口并用 TemplateContainerAttribute 特性进行标记。Declares the base type of the container control of a property that returns an ITemplate interface and is marked with the TemplateContainerAttribute attribute. 具有 ITemplate 属性的控件必须实现 INamingContainer 接口。The control with the ITemplate property must implement the INamingContainer interface. 此类不能被继承。This class cannot be inherited.

TemplateControl

Page 类和 UserControl 类提供了一组基本功能。Provides the Page class and the UserControl class with a base set of functionality.

TemplateControlParser

为模板控件实现 ASP.NET 模板分析。Implements ASP.NET template parsing for template controls.

TemplateInstanceAttribute

定义一个元数据特性,该元数据特性用于指定所允许的模板的实例数。Defines a metadata attribute that is used to specify the number of allowed instances of a template. 此类不能被继承。This class cannot be inherited.

TemplateParser

用作 ASP.NET 文件分析器的抽象基类。Serves as the abstract base class for ASP.NET file parsers.

TemplatePropertyEntry

ITemplate 类属性启用属性项。Enables property entry for ITemplate class properties.

ThemeableAttribute

对 Web 服务器控件及其成员用于指示其呈现是否受主题和控件外观影响的元数据特性进行定义。Defines the metadata attribute that Web server controls and their members use to indicate whether their rendering can be affected by themes and control skins. 此类不能被继承。This class cannot be inherited.

ThemeProvider

在设计器环境中为控件提供封装主题和样式表信息的类。Provides a class that encapsulates theme and style sheet information for controls in a designer environment.

Timer

在定义的时间间隔执行异步或同步网页回发。Performs asynchronous or synchronous Web page postbacks at a defined interval.

ToolboxDataAttribute

指定当从 Microsoft Visual Studio 等工具中的工具箱拖动自定义控件时为它生成的默认标记。Specifies the default tag generated for a custom control when it is dragged from a toolbox in a tool such as Microsoft Visual Studio.

Triplet

提供用于存储三个相关对象的基本实用工具类。Provides a basic utility class that is used to store three related objects.

UpdatePanel

在不回发的情况下使得部分呈现页的各部分。Enables sections of a page to be partially rendered without a postback.

UpdatePanelControlTrigger

为可以作为 UpdatePanel 控件的触发器的控件提供一个公共的基类。Provides a common base class for controls that can be triggers for UpdatePanel controls.

UpdatePanelTrigger

为可作为 UpdatePanel 控件的触发器的对象提供一个公共基类。Provides a common base class for objects that can be triggers for UpdatePanel controls.

UpdatePanelTriggerCollection

表示 UpdatePanel 控件的 UpdatePanelTrigger 对象的集合。Represents a collection of UpdatePanelTrigger objects for an UpdatePanel control.

UpdateProgress

更新一个或多个 UpdatePanel 控件的内容时,在浏览器中提供可视反馈。Provides visual feedback in the browser when the contents of one or more UpdatePanel controls are updated.

UrlPropertyAttribute

对控件用来标识包含 URL 值的字符串属性的特性进行定义。Defines the attribute that controls use to identify string properties containing URL values. 此类不能被继承。This class cannot be inherited.

UserControl

表示从 ASP.NET Web 应用程序的宿主服务器请求的 .ascx 文件,又称用户控件。Represents an .ascx file, also known as a user control, requested from a server that hosts an ASP.NET Web application. 必须从 Web 窗体页调用此文件,否则将会发生分析器错误。The file must be called from a Web Forms page or a parser error will occur.

UserControlControlBuilder

支持 ASP.NET 页分析器生成用户控件的实例。Supports the ASP.NET page parser in building an instance of a user control.

ValidationPropertyAttribute

定义 ASP.NET 服务器控件用于标识验证属性的元数据特性。Defines the metadata attribute that ASP.NET server controls use to identify a validation property. 此类不能被继承。This class cannot be inherited.

ValidationSettings

对应用程序提供客户端验证设置。Provides client validation settings for the application.

ValidatorCollection

公开一个 IValidator 引用数组。Exposes an array of IValidator references. 此类不能被继承。This class cannot be inherited.

VerificationAttribute

定义 Web 内容可访问性规则的元数据特性。Defines the metadata attribute of a Web content accessibility rule. 此类不能被继承。This class cannot be inherited.

ViewStateException

表示当无法加载或验证视图状态时引发的异常。Represents the exception that is thrown when the view state cannot be loaded or validated. 此类不能被继承。This class cannot be inherited.

ViewStateModeByIdAttribute

定义元数据特性,ASP.NET 服务器控件使用此特性来指定是否参与根据 ID 加载视图状态信息。Defines the metadata attribute that ASP.NET server controls use to specify whether they participate in loading view-state information by ID. 此类不能被继承。This class cannot be inherited.

WebResourceAttribute

定义在程序集中启用嵌入资源的元数据特性。Defines the metadata attribute that enables an embedded resource in an assembly. 此类不能被继承。This class cannot be inherited.

WebServiceParser

为 Web 服务处理程序提供分析器。Provides a parser for Web service handlers.

XhtmlTextWriter

将特定于可扩展超文本标记语言 (XHTML) 的字符(包括从 XHTML 派生的 XHTML 模块的所有变体)写入移动设备的 ASP.NET 服务器控件的输出流。Writes Extensible Hypertext Markup Language (XHTML)-specific characters, including all variations of XHTML modules that derive from XHTML, to the output stream for an ASP.NET server control for mobile devices. 重写 XhtmlTextWriter 类以为 ASP.NET 页和服务器控件提供自定义 XHTML 呈现。Override the XhtmlTextWriter class to provide custom XHTML rendering for ASP.NET pages and server controls.

XPathBinder

为应用程序快速开发 (RAD) 设计器提供支持,以便分析使用 XPath 表达式的数据绑定表达式。Provides support for rapid application development (RAD) designers to parse data-binding expressions that use XPath expressions. 此类不能被继承。This class cannot be inherited.

接口

IAttributeAccessor

定义由 ASP.NET 服务器控件用来对服务器控件的开始标记中声明的任何特性提供编程访问的方法。Defines methods used by ASP.NET server controls to provide programmatic access to any attribute declared in the opening tag of a server control.

IAutoFieldGenerator

定义一种方法,该方法自动为使用 ASP.NET 动态数据功能的数据绑定控件生成字段。Defines a method that automatically generates fields for data-bound controls that use ASP.NET Dynamic Data features.

IBindableControl

定义一种方法,该方法能够使字段模板控件实现双向数据绑定。Defines a method that enables field template controls to implement two-way data-binding.

IBindableTemplate

为 ASP.NET 数据绑定控件(如 DetailsViewFormView)提供一种可以自动绑定到模板化内容节中的 ASP.NET 数据源控件的方式。Provides a way for ASP.NET data-bound controls, such as DetailsView and FormView, to automatically bind to an ASP.NET data source control within templated content sections.

ICallbackEventHandler

用于指示控件可以作为服务器上的回调事件的目标。Used to indicate that a control can be the target of a callback event on the server.

ICheckBoxControl

定义控件实现的属性和事件,用作复选框。Defines the property and event a control implements to act as a check box.

ICodeBlockTypeAccessor

提供对代码块生成器的 CodeBlockType 的访问权限。Provides access to the CodeBlockType of a code block builder.

IControlBuilderAccessor

使控件序列化程序可以到达控件的生成器。Allows the control serializer to get to the builder for a control.

IControlDesignerAccessor

提供对控件设计器的访问,以存储与控件有关的临时性设计数据。Provides access to a control designer to store temporary design-time data associated with a control.

IDataBindingsAccessor

允许在设计时访问控件的数据绑定表达式集合。Allows access to the collection of data-binding expressions on a control at design time.

IDataItemContainer

启用数据绑定控件容器来为简化的数据绑定操作标识数据项对象。Enables data-bound control containers to identify a data item object for simplified data-binding operations.

IDataKeysControl

定义一些属性,用于指定 ASP.NET 如何创建数据绑定控件的客户端 ID。Defines properties that specify how ASP.NET creates client IDs for a data-bound control.

IDataSource

表示数据绑定控件绑定到的抽象数据源。Represents an abstract data source that data-bound controls bind to.

IDataSourceViewSchemaAccessor

允许类型转换器访问存储在对象中的架构信息。Allows a type converter to access schema information stored on an object.

IEditableTextControl

表示一个控件,该控件呈现可由用户更改的文本。Represents a control that renders text that can be changed by the user.

IExpressionsAccessor

定义一个类为支持表达式的集合而必须实现的属性。Defines the properties a class must implement to support collections of expressions.

IExtenderControl

定义扩展程序控件的行为。Defines the behavior for an extender control.

IFilterResolutionService

提供一个接口,设计器开发人员可以用它来按名称计算设备筛选器。Provides an interface that designer developers can use to evaluate device filters by name.

IHierarchicalDataSource

表示分层数据绑定控件(如 TreeView)可以绑定到的分层数据源。Represents a hierarchical data source that hierarchical data-bound controls such as TreeView can bind to.

IHierarchicalEnumerable

表示一个可以使用 IEnumerator 接口枚举的分层集合。Represents a hierarchical collection that can be enumerated with an IEnumerator interface. 实现 IHierarchicalEnumerable 接口的集合供 ASP.NET 站点导航控件和数据源控件使用。Collections that implement the IHierarchicalEnumerable interface are used by ASP.NET site navigation and data source controls.

IHierarchyData

公开分层数据结构的节点,包括节点对象和描述节点特征的一些属性。Exposes a node of a hierarchical data structure, including the node object and some properties that describe characteristics of the node. 实现 IHierarchyData 接口的对象可以包含在 IHierarchicalEnumerable 集合中,并由 ASP.NET 站点导航和数据源控件所使用。Objects that implement the IHierarchyData interface can be contained in IHierarchicalEnumerable collections, and are used by ASP.NET site navigation and data source controls.

INamingContainer

标识在 Page 对象的控件层次结构内创建新 ID 命名空间的容器控件。Identifies a container control that creates a new ID namespace within a Page object's control hierarchy. 这仅是一个标记接口。This is a marker interface only.

INavigateUIData

提供类为向导航控件提供导航用户界面数据和值而实现的接口。Provides an interface that classes implement to provide navigation user interface data and values to navigation controls.

IParserAccessor

定义 ASP.NET 服务器控件必须实现以识别何时分析元素(HTML 或 XML)的方法。Defines the method that ASP.NET server controls must implement to recognize when elements, either HTML or XML, are parsed.

IPostBackDataHandler

定义 ASP.NET 服务器控件为自动加载回发数据而必须实现的方法。Defines methods that ASP.NET server controls must implement to automatically load postback data.

IPostBackEventHandler

定义 ASP.NET 服务器控件为处理回发事件而必须实现的方法。Defines the method ASP.NET server controls must implement to handle postback events.

IResourceUrlGenerator

定义一个方法,设计器宿主必须实现该方法来为嵌入式资源提供 URL 引用查找。Defines the method that a designer-host must implement to provide URL reference look-up for embedded resources.

IScriptControl

定义 ASP.NET 服务器控件为在启用 AJAX 的应用程序中定义 ECMAScript (JavaScript) 资源而必须实现的方法。Defines methods that ASP.NET server controls must implement to define ECMAScript (JavaScript) resources in AJAX-enabled applications.

IStateFormatter

定义要对对象图进行序列化和反序列化,类型应实现的方法。Defines methods that a type implements to serialize and deserialize an object graph.

IStateManager

定义任何类为支持服务器控件的视图状态管理而必须实现的属性和方法。Defines the properties and methods any class must implement to support view state management for a server control.

IStyleSheet

定义某个类为支持样式规则的创建而必须实现的方法。Defines the methods that a class must implement in order to support the creation of style rules.

ITemplate

定义用子控件填充模板化 ASP.NET 服务器控件的行为。Defines the behavior for populating a templated ASP.NET server control with child controls. 子控件表示页上定义的内联模板。The child controls represent the inline templates defined on the page.

ITextControl

定义控件实现以获取或设置其文本内容的接口。Defines the interface a control implements to get or set its text content.

IThemeResolutionService

提供一个接口,设计器工具开发人员可以使用此接口提供一组 ThemeProvider 对象,这些对象可以用于在设计时环境中将主题和控件外观应用于控件。Provides an interface that designer tool developers can use to supply a set of ThemeProvider objects, which can be used to apply themes and control skins to controls in a design-time environment.

IUrlResolutionService

定义一种服务,该服务由对象实现以根据上下文信息解析相对 URL。Defines a service implemented by objects to resolve relative URLs based on contextual information.

IUserControlDesignerAccessor

定义允许设计器在设计时访问有关用户控件的信息的属性。Defines the properties that allow the designer to access information about a user control at design time.

IUserControlTypeResolutionService

定义一个类为返回对应指定标记前缀和标记名称的控件的类型而必须实现的方法。Defines the method a class must implement to return a control's type for a specified tag prefix and tag name.

IValidator

定义参与 Web 窗体验证的对象必须实现的属性和方法。Defines the properties and methods that objects that participate in Web Forms validation must implement.

枚举

AjaxFrameworkMode

指定 Microsoft Ajax 客户端库的客户端脚本以何种方式包括在客户端上。Specifies how client scripts of the Microsoft Ajax client library are included on the client.

ClientIDMode

指定 ASP.NET 如何为客户端脚本中可以访问的控件生成 ClientIDSpecifies how ASP.NET generates the ClientID for a control that can be accessed in client script.

CodeBlockType

指定代码块的类型。Specifies the type of the code block.

CodeConstructType

指定可通过 PageParserFilter 类的 ProcessCodeConstruct(CodeConstructType, String) 方法进行分析的代码构造。Specifies the code constructs that can be parsed in the ProcessCodeConstruct(CodeConstructType, String) method of the PageParserFilter class.

CompilationMode

定义一些常量以指定 ASP.NET 应如何编译 .aspx 页和 .ascx 控件。Defines constants that specify how ASP.NET should compile .aspx pages and .ascx controls.

ConflictOptions

确定 ASP.NET 数据源控件在更新或删除数据时如何处理数据冲突。Determines how ASP.NET data source controls handle data conflicts when updating or deleting data.

DataSourceCacheExpiry

描述在设置超时时,使用 ASP.NET 缓存机制缓存的数据过期的方式。Describes the way data cached using ASP.NET caching mechanisms expires when a time-out is set.

DataSourceCapabilities

为数据源控件的数据检索操作提供一种请求除记录检索之外的其他处理的方法。Provides a way to request processing beyond record retrieval for a data retrieval operation of a data source control.

DataSourceOperation

指定数据源控件执行的数据操作。Specifies a data operation performed by a data source control.

HtmlTextWriterAttribute

指定 HTML 特性,在处理 Web 请求时,HtmlTextWriterHtml32TextWriter 对象将该特性写入 HTML 元素的开始标记。Specifies the HTML attributes that an HtmlTextWriter or Html32TextWriter object writes to the opening tag of an HTML element when a Web request is processed.

HtmlTextWriterStyle

指定可用于 HtmlTextWriterHtml32TextWriter 对象输出流的 HTML 样式。Specifies the HTML styles available to an HtmlTextWriter or Html32TextWriter object output stream.

HtmlTextWriterTag

指定可传递到 HtmlTextWriterHtml32TextWriter 对象输出流的 HTML 标记。Specifies the HTML tags that can be passed to an HtmlTextWriter or Html32TextWriter object output stream.

OutputCacheLocation

指定有效值,用于控制资源的输出缓存 HTTP 响应的位置。Specifies the valid values for controlling the location of the output-cached HTTP response for a resource.

PersistenceMode

指定在 .aspx 或 .ascx 文件中如何以声明方式保持 ASP.NET 服务器控件的属性或事件。Specifies how an ASP.NET server control property or event is persisted declaratively in an .aspx or .ascx file.

RegisteredScriptType

指定 RegisteredScript 对象所表示的客户端脚本块的类型。Specifies the type of client script block that is represented by a RegisteredScript object.

ScriptMode

指定 ScriptManagerScriptReference 对象是引用客户端脚本的调试版本还是发布版本。Specifies whether ScriptManager and ScriptReference objects refer to the debug or release version of client scripts.

TemplateInstance

指定模板的实例可创建的次数。Specifies how many times an instance of a template can be created.

UnobtrusiveValidationMode

指定不显眼的验证的行为。Specifies behavior of unobtrusive validation.

UpdatePanelRenderMode

表示页上 UpdatePanel 控件内容的可能的布局呈现选项。Represents the possible layout rendering options for the content of an UpdatePanel control on a page.

UpdatePanelUpdateMode

表示 UpdatePanel 控件中内容可能的更新模式。Represents the possible update modes for the content in an UpdatePanel control.

ValidateRequestMode

为控件指定请求测试的类型。Specifies the type of request validation for a control.

VerificationConditionalOperator

指定 VerificationAttribute 类中使用的条件表达式的运算符。Specifies operators for a conditional expression used in a VerificationAttribute class.

VerificationReportLevel

指定由 VerificationAttribute 实例定义的辅助功能规则的报告级别。Specifies reporting levels for an accessibility rule defined by an VerificationAttribute instance.

VerificationRule

指定如何在验证中使用由 VerificationAttribute 实例定义的条件表达式。Specifies how conditional expressions defined by an VerificationAttribute instance are used in verification.

ViewStateEncryptionMode

指定是否加密视图状态信息。Specifies whether view-state information is encrypted.

ViewStateMode

指定是否将为控件启用视图状态。Specifies whether view state will be enabled for a control.

VirtualReferenceType

指定已分析的虚拟路径引用的资源的类型。Specifies the type of resource referenced by a parsed virtual path.

XhtmlMobileDocType

指定要呈现给页或控件的 XhtmlTextWriter 类的 XHTML 的类型。Specifies the type of XHTML for the XhtmlTextWriter class to render to the page or control.

委托

BuildMethod

表示用于生成控件的方法。Represents the method that is used to build a control.

BuildTemplateMethod

在从生成的类代码创建模板化控件的模板的过程中支持 ASP.NET。Supports ASP.NET during the creation of a template for a templated control from generated class code. BuildTemplateMethod 委托处理 InstantiateIn(Control) 方法。The BuildTemplateMethod delegate handles the InstantiateIn(Control) method.

ControlSkinDelegate

表示一种方法,该方法可将正确的控件外观应用于指定控件。Represents the method that applies the correct control skin to the specified control.

DataSourceViewOperationCallback

表示数据绑定控件向数据源视图提供的、用于进行异步插入、更新或删除数据操作的异步回调方法。Represents the asynchronous callback method that a data-bound control supplies to a data source view for asynchronous insert, update, or delete data operations.

DataSourceViewSelectCallback

表示数据绑定控件向数据源视图提供以进行异步数据检索的异步回调方法。Represents the asynchronous callback method that a data-bound control supplies to a data source view for asynchronous data retrieval.

ExtractTemplateValuesMethod

提供一个委托,ASP.NET 用它在运行时从 IBindableTemplate 对象中提取一组名称/值对。Provides a delegate with which ASP.NET extracts a set of name/value pairs from an IBindableTemplate object at run time. 此类不能被继承。This class cannot be inherited.

ImageClickEventHandler

表示处理在用户单击基于图像的 ASP.NET 服务器控件时引发的所有事件的方法。Represents the method that handles any events that are raised when a user clicks an image-based ASP.NET server control.

RenderMethod

表示将指定的 Control 容器呈现到指定 HtmlTextWriter 的方法。Represents the method that renders the specified Control container to the specified HtmlTextWriter.

注解

此命名空间包括Control类,为所有服务器控件提供了一组通用的功能,其中包含 HTML 服务器控件、 Web 服务器控件和用户控件。This namespace includes the Control class, which provides a common set of functionality for all server controls, which includes HTML server controls, Web server controls, and user controls. 它还包括Page类。It also includes the Page class. 为.aspx 文件中的 ASP.NET Web 应用程序发出请求时,将自动生成此类。This class is generated automatically whenever a request is made for an .aspx file in an ASP.NET Web application. 您可以从这些类都继承。You can inherit from both of these classes.

该命名空间还包含服务器控件提供数据绑定功能,能够将视图状态的给定的控件或页上,保存和分析功能的类。The namespace also includes classes that provide the server controls with data-binding functionality, the ability to save the view state of a given control or page, and parsing functionality.