Class
CornersConverter

Definition

Namespace:Telerik.Reporting.Charting.Styles

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
public class CornersConverter : TypeConverter

Inheritance: objectTypeConverterCornersConverter

Constructors

CornersConverter()

Declaration

cs-api-definition
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

cs-api-definition
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 TypeConverter.CanConvertFrom(ITypeDescriptorContext, Type)

ConvertFrom(ITypeDescriptorContext, CultureInfo, object)

Conversion of an object to the type of this converter

Declaration

cs-api-definition
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 TypeConverter.ConvertFrom(ITypeDescriptorContext, CultureInfo, object)

ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)

Conversion of an object to the specified type

Declaration

cs-api-definition
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 TypeConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)

CreateInstance(ITypeDescriptorContext, IDictionary)

Create new instance

Declaration

cs-api-definition
public override object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues)

Parameters

context

ITypeDescriptorContext

Context

propertyValues

IDictionary

Properties

Returns

object

New instance

Overrides TypeConverter.CreateInstance(ITypeDescriptorContext, IDictionary)

GetCreateInstanceSupported(ITypeDescriptorContext)

Get Create Instance Supported

Declaration

cs-api-definition
public override bool GetCreateInstanceSupported(ITypeDescriptorContext context)

Parameters

context

ITypeDescriptorContext

Context

Returns

bool

Get Create Instance Supported

Overrides TypeConverter.GetCreateInstanceSupported(ITypeDescriptorContext)

GetProperties(ITypeDescriptorContext, object, Attribute[])

Gets Properties of type

Declaration

cs-api-definition
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 TypeConverter.GetProperties(ITypeDescriptorContext, object, Attribute[])

GetPropertiesSupported(ITypeDescriptorContext)

Get Properties Supported

Declaration

cs-api-definition
public override bool GetPropertiesSupported(ITypeDescriptorContext context)

Parameters

context

ITypeDescriptorContext

Context

Returns

bool

Properties Supported

Overrides TypeConverter.GetPropertiesSupported(ITypeDescriptorContext)