Finds a LayoutStrategyBase by its string representation.
Definition
Namespace:Telerik.Windows.Controls.TreeMap
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public sealed class LayoutStrategyConverter : TypeConverter
Inheritance: objectTypeConverterLayoutStrategyConverter
Inherited Members
Constructors
public LayoutStrategyConverter()
Methods
Returns whether the type converter can convert an object from the specified type to the type of this converter.
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
An object that provides a format context.
sourceTypeTypeThe type you want to convert from.
Returns:true if this converter can perform the conversion; otherwise, false.
Overrides:
Determines whether this converter can convert the object to the specified type, using the specified context.
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
An object that provides a format context.
destinationTypeTypeThe destination type.
Returns:Overrides:
Converts from the specified value to the intended conversion type of the converter.
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
An object that provides a format context.
cultureCultureInfoThe CultureInfo to use as the current culture.
valueobjectThe value to convert to the type of this converter.
Returns:The converted value.
Overrides:
Converts the given value object to the specified type, using the specified context and culture information.
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
An object that provides a format context.
cultureCultureInfoThe CultureInfo to use as the current culture.
valueobjectThe object to convert.
destinationTypeTypeThe Type to convert the value parameter to.
Returns:Overrides: