![]() Returns a value indicating whether this converter can convert an object to the given destination type using the context. Returns whether this converter can convert an object of the given type to the type of this converter.ĬanConvertTo(ITypeDescriptorContext, Type) Initializes a new instance of the WebColorConverter class.ĬanConvertFrom(ITypeDescriptorContext, Type)ĭetermines if this converter can convert an object in the given source type to the native type of the converter. It specifies the minimum value ( 00) for the red and green components, while specifying the maximum value ( FF) for the blue component. For example, the value #0000FF represents the color blue. ![]() RR, GG, and BB represent hexadecimal values from 0 to 255 that indicate the red, green, and blue components of a color, respectively. You can also specify a custom color by using a hexadecimal number, preceded by the pound character (#), in the form #RRGGBB. The following list contains the sixteen predefined HTML color names you can use: For more information, see the examples in the class overview. Instead, call the appropriate converter by using. You should never access a type converter directly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |