ClassCornersConverter
Definition
Namespace:Telerik.Reporting.Charting.Styles
Assembly:Telerik.Reporting.dll
Syntax:
public class CornersConverter : TypeConverter
Inheritance: objectTypeConverterCornersConverter
Constructors
CornersConverter()
Declaration
public CornersConverter()
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
Check whether can convert an object of the given type to the type of this converter, using the specified context
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
context
ITypeDescriptorContext
Context for types converting
sourceType
Type
Type to convert
Returns
bool
Can convert an object or not
Overrides
ConvertFrom(ITypeDescriptorContext, CultureInfo, object)
Conversion of an object to the type of this converter
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
context
ITypeDescriptorContext
Context for types converting
culture
CultureInfo
To use at the current culture
value
object
Object to convert
Returns
object
Converted object
Overrides
ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)
Conversion of an object to the specified type
Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
context
ITypeDescriptorContext
Context for types converting
culture
CultureInfo
To use at the current culture
value
object
Object to convert
destinationType
Type
Type to convert the value parameter to
Returns
object
converted object
Overrides
CreateInstance(ITypeDescriptorContext, IDictionary)
Create new instance
Declaration
public override object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues)
Parameters
context
ITypeDescriptorContext
Context
propertyValues
IDictionary
Properties
Returns
object
New instance
Overrides
GetCreateInstanceSupported(ITypeDescriptorContext)
Get Create Instance Supported
Declaration
public override bool GetCreateInstanceSupported(ITypeDescriptorContext context)
Parameters
context
ITypeDescriptorContext
Context
Returns
bool
Get Create Instance Supported
Overrides
GetProperties(ITypeDescriptorContext, object, Attribute[])
Gets Properties of type
Declaration
public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
Parameters
context
ITypeDescriptorContext
Context
value
object
attributes
Attribute[]
Returns
PropertyDescriptorCollection
Properties of this type
Overrides
GetPropertiesSupported(ITypeDescriptorContext)
Get Properties Supported
Declaration
public override bool GetPropertiesSupported(ITypeDescriptorContext context)
Parameters
context
ITypeDescriptorContext
Context
Returns
bool
Properties Supported
Overrides