System.Web.UI Namespace

System.Web.UI 命名空間提供類別和介面,可讓您建立 ASP.NET 伺服器控制項和 ASP.NET Web 網頁,以做為 ASP.NET Web 應用程式的使用者介面。 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

提供物件模型 (Object Model) 的存取權給 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

將一系列 cHTML 特定字元和文字寫入 ASP.NET 伺服器控制項的輸出資料流。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

產生 Code 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

指定伺服器控制項在它的建構函數 (Constructor) 內需要的標記名稱。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

指定 ControlBuilder 類別以便在 ASP.NET 剖析器 (Parser) 內建置自訂控制項。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) 內嵌樣式屬性 (Attribute)。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 伺服器控制項中的單一資料繫結運算式的資訊,可讓 Microsoft Visual Studio 之類的快速應用程式開發 (RAD) 設計工具在設計階段建立資料繫結運算式。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 Dynamic Data 所使用的擴充方法。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

提供型別轉換子 (Type Converter),將 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

指定套用此屬性 (Attribute) 的屬性 (Property) 是否支援裝置篩選。Specifies whether the property to which the attribute is applied supports device filtering. 這個類別無法被繼承。This class cannot be inherited.

HiddenFieldPageStatePersister

將 ASP.NET 網頁檢視狀態儲存在 Web 用戶端上的隱藏 HTML 項目。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

將一系列 HTML 3.2 特定字元和文字寫入 ASP.NET 伺服器控制項的輸出資料流。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

定義屬性 (Attribute),套用至包含 ID 參考的屬性 (Property)。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 類別用來最佳化物件 Graph 序列化。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

表示不需要在伺服器上處理之 ASP.NET 網頁中的 HTML 項目、文字和任何其他字串。Represents HTML elements, text, and any other strings in an ASP.NET page that do not require processing on the server.

LosFormatter

序列化 Web Form 網頁的檢視狀態。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

代表 .aspx 檔案,一般稱為 Web Form 網頁,由裝載 ASP.NET 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 網頁的預設處理常式 Factory 實作。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 伺服器控制項時使用的中繼資料 (Metadata) 屬性 (Attribute)。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 Form 使用者控制項 (.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 伺服器控制項使用的屬性 (Attribute),指出設計階段時伺服器控制項中包含的巢狀內容對應至控制項,或是伺服器控制項的屬性 (Property)。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

定義中繼資料 (Metadata) 屬性,該屬性會指定 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

包含 Helper 函式以便將屬性值和字串相互轉換。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 指令碼程式庫和指令碼檔、部分網頁的呈現作業和用戶端 Proxy 類別的產生作業進行管理。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

所有指令碼參考類別的基底類別 (Base Class)。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

將 ASP.NET 網頁檢視狀態儲存在 Web 伺服器上。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 伺服器控制項用於表示支援事件驗證的中繼資料 (Metadata) 屬性 (Attribute)。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

屬性 (Property) 傳回 ITemplate 介面並使用 TemplateContainerAttribute 屬性 (Attribute) 標記,宣告其容器控制項的基底型別。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

表示 UpdatePanelTrigger 控制項之 UpdatePanel 物件的集合。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 值之字串屬性 (Property) 的屬性 (Attribute)。Defines the attribute that controls use to identify string properties containing URL values. 這個類別無法被繼承。This class cannot be inherited.

UserControl

代表 .ascx 檔案,也稱為使用者控制項,由裝載 ASP.NET Web 應用程式的伺服器提出要求。Represents an .ascx file, also known as a user control, requested from a server that hosts an ASP.NET Web application. 檔案必須從 Web Form 網頁呼叫,否則會發生剖析器 (Parser) 錯誤。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 伺服器控制項用來識別驗證屬性 (Property) 的中繼資料 (Metadata) 屬性 (Attribute)。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

定義無障礙網頁開發規則的中繼資料屬性。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) 特定字元 (包括衍生自 XTHML 的 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 Dynamic Data 功能之資料繫結控制項的欄位。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

提供一種方法給 DetailsView 以及 FormView 之類的 ASP.NET 資料繫結控制項,讓它們能夠自動繫結到樣板化內容區段內的 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 建立資料繫結控制項之用戶端識別碼的方式。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. ASP.NET 網站巡覽和資料來源控制項會使用此實作 IHierarchicalEnumerable 介面的集合。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

定義型別為了將物件 Graph 序列化與還原序列化所實作的方法。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 Form 驗證的物件必須實作的屬性和方法。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

指定 ProcessCodeConstruct(CodeConstructType, String) 類別的 PageParserFilter 方法中可剖析的程式碼建構。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

指定在 Web 要求已處理時由 HtmlTextWriterHtml32TextWriter 物件寫入至 HTML 項目開頭標記的 HTML 屬性 (Attribute)。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

指定 ASP.NET 伺服器控制項屬性或事件,如何以宣告方式保存 (Persist) 在 .aspx 或 .ascx 檔案中。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 類別 (Class) 中使用的條件運算式指定運算子。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 執行個體 (Instance) 所定義之條件運算式在驗證中的使用方式。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

指定 XHTML 型別,讓 XhtmlTextWriter 類別呈現在頁面或控制項上。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.