Condividi tramite


HslColorConverter Class

Definition

Provides a type converter to convert HslColor objects to and from other representations.

public ref class HslColorConverter : System::ComponentModel::TypeConverter
public class HslColorConverter : System.ComponentModel.TypeConverter
type HslColorConverter = class
    inherit TypeConverter
Public Class HslColorConverter
Inherits TypeConverter
Inheritance
HslColorConverter

Constructors

HslColorConverter()

Methods

CanConvertFrom(ITypeDescriptorContext, Type)

Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.

CanConvertTo(ITypeDescriptorContext, Type)

Returns whether this converter can convert the object to the specified type, using the specified context.

ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

Converts the given object to the type of this converter, using the specified context and culture information.

ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

Converts the given value object to the specified type, using the specified context and culture information.

Applies to