ColorConverterConvertFrom 方法 (ITypeDescriptorContext, CultureInfo, Object) |
命名空间: CPF.Drawing
public override Object ConvertFrom( ITypeDescriptorContext td, CultureInfo ci, Object value )
[缺少 "M:CPF.Drawing.ColorConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object)" 的 <param name="td"/> 文档]
[缺少 "M:CPF.Drawing.ColorConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object)" 的 <param name="ci"/> 文档]
[缺少 "M:CPF.Drawing.ColorConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object)" 的 <param name="value"/> 文档]
[缺少 "M:CPF.Drawing.ColorConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object)" 的 <returns> 文档]
异常 | 条件 |
---|---|
NotSupportedException | A NotSupportedException is thrown if the example object is null or is not a valid type which can be converted to a Color. |