
WebControl | 897
WebControls
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
WebColorConverter
System.Web.UI.WebControls (system.web.dll)
class
The WebColorConverter class is a type converter that allows control color properties to be
converted from one data type to another. This allows color value to be displayed in the
property browser. This class is never accessed directly; you can access its functionality
through the System.ComponentModel.TypeDescriptor helper class.
Hierarchy
System.Object ➝ System.ComponentModel.TypeConverter ➝ System.Drawing.ColorCon-
verter
➝ WebColorConverter
WebControl
System.Web.UI.WebControls (system.web.dll)
disposable
class
This class is the base class for all web controls. The WebControl class derives much of its
basic functionality from System.Web.UI.Control, including functionality for data binding and
using view state. The WebControl class adds additional user-interface specific members
for configuring the control’s appearance—including a collection of CSS attributes
(Style), color options (BackColor and ForeColor), a shortcut key (AccessKey), and various border
style, font, and dimension properties. One interesting property that is specific to web
controls is CssClass, which sets the Cascading Style Sheet class applied to the control.
This is rendered as the class attribute in HTML (for example, ...