ASP.NET Architecture, Part 1 - System.Web.UI Namespace Interface, Enumerations, and Delegates
(Page 4 of 8 )
Interfaces
The following table contains the list of the System.Web.UI interfaces:
Interface | Description |
IAttributeAccessor | Defines methods used by ASP.NET server controls to provide programmatic access to any attribute declared in the opening tag of a server control. |
IDataBindingsAccessor | Permits access to the collection of data-binding expressions on a control at design time. |
INamingContainer | Identifies a container control that creates a new ID namespace within a Page object’s control hierarchy. This is a marker interface only. |
IParserAccessor | Defines the method that ASP.NET server controls must implement to recognize when elements, either XML or HTML, are parsed. |
IPostBackDataHandler | Defines methods that ASP.NET server controls must implement to automatically load post-back data. |
IStateMapper | Defines properties and methods that any class must implement to support view state management for a server control. |
ITemplate | Defines the method to implement for populating an ASP.NET server control with child controls when using a control with inline templates declared in an .aspx file. |
IUserControlDesignerAccessor | Defines the properties to implement, and allows designers to access information about a user control at design time. |
IValidator | Defines the properties and methods that objects participating in web forms validation must implement. |
Enumerations
The following table provides a list of System.Web.UI enumerations used when enumerating more than one item.
Enumeration | Description |
HtmlTextWriterAttribute | 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 | Specifies the HTML styles available to an HtmlTextWriter or HtmlTextWriter32 object output stream. |
HtmlTextWriterTag | Specifies which HTML tags are allowed to be passed to an HtmlTextWriter or HtmlTextWriter32 object output. |
OutputCacheLocation | Specifies the valid values for the location of the output cache. |
PersistenceMode | Specifies how an ASP.NET server control property or event is persisted declaratively in an .aspx or .ascx file. |
Delegates
The final item in the System.Web.UI namespace, delegates, contains one item. It describes the method that handles any events raised when a user clicks on an image-based ASP.NET server control. Also, a delegate is a reference type that encapsulates a method that contains a specific signature and return type.
Come back this Friday, 27/02/2004, for part two of ASP.NET Architecture. This is chapter six of .NET & J2EE Interoperability, by Dwight Peltzer (McGraw-Hill/Osborne, ISBN 0-07-223054-1, 2004). Buy this book now.
|
Next: ASP.NET Page Class >>
More ASP.NET Articles
More By McGraw-Hill/Osborne