Class LengthConverter
Inheritance
System.Object
LengthConverter
Namespace: Telerik.WinControls.UI.Diagrams
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public class LengthConverter : TypeConverter
Constructors
LengthConverter()
Declaration
public LengthConverter()
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType)
Parameters
System.ComponentModel.ITypeDescriptorContext
typeDescriptorContext
|
System.Type
sourceType
|
Returns
System.Boolean
|
CanConvertTo(ITypeDescriptorContext, Type)
Declaration
public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType)
Parameters
System.ComponentModel.ITypeDescriptorContext
typeDescriptorContext
|
System.Type
destinationType
|
Returns
System.Boolean
|
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
Declaration
public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object source)
Parameters
System.ComponentModel.ITypeDescriptorContext
typeDescriptorContext
|
System.Globalization.CultureInfo
cultureInfo
|
System.Object
source
|
Returns
System.Object
|
ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)
Declaration
public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object value, Type destinationType)
Parameters
System.ComponentModel.ITypeDescriptorContext
typeDescriptorContext
|
System.Globalization.CultureInfo
cultureInfo
|
System.Object
value
|
System.Type
destinationType
|
Returns
System.Object
|