Class LocationCollectionConverter
Converts instances of other types to and from instances of LocationCollection.
Inheritance
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class LocationCollectionConverter : TypeConverter
Constructors
LocationCollectionConverter()
Declaration
public LocationCollectionConverter()
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
Gets a value that indicates whether this type converter can convert from a given type.
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
System. ITypeDescriptorContext for this call. |
System. Type being queried for support. |
Returns
System. True if this converter can convert from the specified type; false otherwise. |
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
Attempts to convert to a LocationCollection from the given object.
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
System. The ITypeDescriptorContext for this call. |
System. The CultureInfo which is respected when converting. |
System. The object to convert to an instance of LocationCollection. |
Returns
System. LocationCollection that was constructed. |