WebColorConverter

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.

public class WebColorConverter : System.Drawing.ColorConverter {
// Public Constructors
   public WebColorConverter( );
// Public Instance Methods
   public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, 
        System.Globalization.CultureInfo culture, object value);
              // overrides System.Drawing.ColorConverter
   public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, 
        System.Globalization.CultureInfo culture, object value, Type destinationType); 
              // overrides System.Drawing.ColorConverter
}

Hierarchy

System.Object System.ComponentModel.TypeConverter System.Drawing.ColorConverter WebColorConverter



    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace