ImageConverter
Provides a type converter to convert Image objects from String representation.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class ImageConverter : TypeConverter
Inheritance: objectTypeConverterImageConverter
Inherited Members
Constructors
public ImageConverter()
Methods
Overloaded. Returns whether this converter can convert an object of one type to the type of this converter.
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
An ITypeDescriptorContext that provides a format context.
sourceTypeTypeA Type that represents the type you wish to convert from.
Returns:true if this object can perform the conversion; otherwise, false.
Overrides:
Converts the given value object to a Image object.
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
An ITypeDescriptorContext that provides a format context.
cultureCultureInfoA CultureInfo that specifies the culture to which to convert.
valueobjectThe Object to convert.
Returns:An Object that represents the converted value.
Overrides: