ColorConverterConvertTo 方法 (ITypeDescriptorContext, CultureInfo, Object, Type) |
命名空间: CPF.Drawing
public override Object ConvertTo( ITypeDescriptorContext context, CultureInfo culture, Object value, Type destinationType )
异常 | 条件 |
---|---|
NotSupportedException | An NotSupportedException is thrown if the example object is null or is not a Color, or if the destinationType isn't one of the valid destination types. |