ClassLayoutStrategyConverter
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
LayoutStrategyConverter()
Declaration
public LayoutStrategyConverter()
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
Returns whether the type converter can convert an object from the specified type to the type of this converter.
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
context
An object that provides a format context.
sourceType
The type you want to convert from.
Returns
true if this converter can perform the conversion; otherwise, false.
Overrides
CanConvertTo(ITypeDescriptorContext, Type)
Determines whether this converter can convert the object to the specified type, using the specified context.
Declaration
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Parameters
context
An object that provides a format context.
destinationType
The destination type.
Returns
Overrides
ConvertFrom(ITypeDescriptorContext, CultureInfo, object)
Converts from the specified value to the intended conversion type of the converter.
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
context
An object that provides a format context.
culture
The CultureInfo to use as the current culture.
value
The value to convert to the type of this converter.
Returns
The converted value.
Overrides
ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)
Converts the given value object to the specified type, using the specified context and culture information.
Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
context
An object that provides a format context.
culture
The CultureInfo to use as the current culture.
value
The object to convert.
destinationType
The Type to convert the value parameter to.
Returns
Overrides