Class CornersConverter
Inheritance
Namespace: Telerik.Charting.Styles
Assembly: Telerik.WinControls.RadChart.dll
Syntax
public class CornersConverter : TypeConverter
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
System.ComponentModel.ITypeDescriptorContext
context
Context for types converting |
System.Type
sourceType
Type to convert |
Returns
System.Boolean
Can convert an object or not |
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
System.ComponentModel.ITypeDescriptorContext
context
Context for types converting |
System.Globalization.CultureInfo
culture
To use at the current culture |
System.Object
value
Object to convert |
Returns
System.Object
Converted object |
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
System.ComponentModel.ITypeDescriptorContext
context
Context for types converting |
System.Globalization.CultureInfo
culture
To use at the current culture |
System.Object
value
Object to convert |
System.Type
destinationType
Type to convert the value parameter to |
Returns
System.Object
converted object |
CreateInstance(ITypeDescriptorContext, IDictionary)
Create new instance
Declaration
public override object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
Context |
System.Collections.IDictionary
propertyValues
Properties |
Returns
System.Object
New instance |
GetCreateInstanceSupported(ITypeDescriptorContext)
Get Create Instance Supported
Declaration
public override bool GetCreateInstanceSupported(ITypeDescriptorContext context)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
Context |
Returns
System.Boolean
Get Create Instance Supported |
GetProperties(ITypeDescriptorContext, Object, Attribute[])
Gets Properties of type
Declaration
public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
Context |
System.Object
value
|
System.Attribute[]
attributes
|
Returns
System.ComponentModel.PropertyDescriptorCollection
Properties of this type |
GetPropertiesSupported(ITypeDescriptorContext)
Get Properties Supported
Declaration
public override bool GetPropertiesSupported(ITypeDescriptorContext context)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
Context |
Returns
System.Boolean
Properties Supported |