Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ColorConverter Class

Converts colors from one data type to another. Access this class through the TypeDescriptor.

For a list of all members of this type, see ColorConverter Members.

System.Object
   System.ComponentModel.TypeConverter
      System.Drawing.ColorConverter
         System.Web.UI.WebControls.WebColorConverter

[Visual Basic]
Public Class ColorConverter
   Inherits TypeConverter
[C#]
public class ColorConverter : TypeConverter
[C++]
public __gc class ColorConverter : public TypeConverter
[JScript]
public class ColorConverter extends TypeConverter

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Requirements

Namespace: System.Drawing

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Drawing (in System.Drawing.dll)

See Also

ColorConverter Members | System.Drawing Namespace

Show:
© 2015 Microsoft