CornersConverter
Converts corner settings to and from strings containing four corner types and a rounding size.
Definition
Namespace:Telerik.Charting.Styles
Assembly:Telerik.WinControls.RadChart.dll
Syntax:
public class CornersConverter : TypeConverter
Inheritance: objectTypeConverterCornersConverter
Inherited Members
Constructors
public CornersConverter()
Methods
Check whether can convert an object of the given type to the type of this converter, using the specified context
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Context for types converting
sourceTypeTypeType to convert
Returns:Can convert an object or not
Overrides:
Conversion of an object to the type of this converter
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Context for types converting
cultureCultureInfoTo use at the current culture
valueobjectObject to convert
Returns:Converted object
Overrides:
Conversion of an object to the specified type
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Context for types converting
cultureCultureInfoTo use at the current culture
valueobjectObject to convert
destinationTypeTypeType to convert the value parameter to
Returns:converted object
Overrides:
Create new instance
public override object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues)
Context
propertyValuesIDictionaryProperties
Returns:New instance
Overrides:
Get Create Instance Supported
public override bool GetCreateInstanceSupported(ITypeDescriptorContext context)
Context
Returns:Get Create Instance Supported
Overrides:
Gets Properties of type
public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
Context
valueobjectattributesAttribute[]Returns:Properties of this type
Overrides:
Get Properties Supported
public override bool GetPropertiesSupported(ITypeDescriptorContext context)
Context
Returns:Properties Supported
Overrides: