﻿<?xml version="1.0" encoding="utf-8"?><Type Name="WebColorConverter" FullName="System.Web.UI.WebControls.WebColorConverter"><TypeSignature Language="C#" Value="public class WebColorConverter : System.Drawing.ColorConverter" Maintainer="auto" /><AssemblyInfo><AssemblyName>System.Web</AssemblyName><AssemblyPublicKey></AssemblyPublicKey><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement><Base><BaseTypeName>System.Drawing.ColorConverter</BaseTypeName></Base><Interfaces /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Web.UI.WebControls.WebColorConverter" /> class is used to convert a <see cref="T:System.Drawing.Color" /> object to a predefined color name or an RGB color value. It is also used to convert a predefined color name or an RGB color value to a <see cref="T:System.Drawing.Color" /> object.</para><block subset="none" type="note"><para>You should never access a type converter directly. Instead, call the appropriate converter by using <see cref="T:System.ComponentModel.TypeDescriptor" />. For more information, see the examples in the <see cref="T:System.ComponentModel.TypeConverter" /> class overview.</para></block><para>The following list contains the sixteen predefined HTML color names you can use: </para><list type="bullet"><item><para>Black </para></item><item><para>Blue </para></item><item><para>Cyan </para></item><item><para>Gray </para></item><item><para>Green </para></item><item><para>Lime </para></item><item><para>Magenta </para></item><item><para>Maroon </para></item><item><para>Navy </para></item><item><para>Olive </para></item><item><para>Purple </para></item><item><para>Red </para></item><item><para>Silver </para></item><item><para>Teal </para></item><item><para>White </para></item><item><para>Yellow </para></item></list><para>You can also specify a custom color by using a hexadecimal number, preceded by the pound character (#), in the form #RRGGBB. RR, GG, and BB represent hexadecimal values from 0 to 255 that indicate the red, green, and blue components of a color, respectively. For example, the value #0000FF represents the color blue. It specifies the minimum value (00) for the red and green components, while specifying the maximum value (FF) for the blue component. </para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Converts a predefined color name or an RGB color value to and from a <see cref="T:System.Drawing.Color" /> object.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public WebColorConverter ();" /><MemberType>Constructor</MemberType><ReturnValue /><Parameters /><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.WebColorConverter" /> class. </para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="ConvertFrom"><MemberSignature Language="C#" Value="public override object ConvertFrom (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Object</ReturnType></ReturnValue><Parameters><Parameter Name="context" Type="System.ComponentModel.ITypeDescriptorContext" /><Parameter Name="culture" Type="System.Globalization.CultureInfo" /><Parameter Name="value" Type="System.Object" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Converts the given value to the type of the converter.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The object resulting from conversion.</para></returns><param name="context"><attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that indicates the context of the object to convert.</param><param name="culture"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Globalization.CultureInfo" /> object that represents information about a culture such as language, calendar system, and so on. This parameter is not used in this method. It is reserved for future versions of this method. You can optionally pass in null for this parameter.</param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The object to convert.</param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="ConvertTo"><MemberSignature Language="C#" Value="public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Object</ReturnType></ReturnValue><Parameters><Parameter Name="context" Type="System.ComponentModel.ITypeDescriptorContext" /><Parameter Name="culture" Type="System.Globalization.CultureInfo" /><Parameter Name="value" Type="System.Object" /><Parameter Name="destinationType" Type="System.Type" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Converts the specified object to a specified type.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The object resulting from conversion.</para></returns><param name="context"><attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> instance that indicates the context of the object to convert.</param><param name="culture"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Globalization.CultureInfo" /> object that represents information about a culture such as language, calendar system, and so on. This parameter is not used in this method. It is reserved for future versions of this method. You can optionally pass in null for this parameter.</param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The object to convert.</param><param name="destinationType"><attribution license="cc4" from="Microsoft" modified="false" />The type to convert to.</param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member></Members></Type>