Class SizeFConverter
Provides a way of converting Size
Inheritance
Namespace: Telerik.WinForms.Documents.Model
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class SizeFConverter : TypeConverter
Constructors
SizeFConverter()
Declaration
public SizeFConverter()
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
Determines whether this instance can convert from another type.
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType)
Parameters
System. The type descriptor context. |
System. Type of the source. |
Returns
System.
|
CanConvertTo(ITypeDescriptorContext, Type)
Determines whether this instance can be converted to another type.
Declaration
public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType)
Parameters
System. The type descriptor context. |
System. Type of the destination. |
Returns
System.
|
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
Converts from System.
Declaration
public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object source)
Parameters
System. The type descriptor context. This parameter is not used in the current implementation. |
System. The culture information. |
System. The source. |
Returns
System. The new generated Size |
ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)
Converts the given value object to System.
Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
System. An System. |
System. A System. |
System. The System. |
System. The System. |
Returns
System. An System. |