Class Point3DConverter
Converts instances of other types to and from a Point3D structure.
Inheritance
Namespace: Telerik.Windows.Media.Media3D
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class Point3DConverter : TypeConverter
Constructors
Point3DConverter()
Declaration
public Point3DConverter()
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.ComponentModel.ITypeDescriptorContext
context
ITypeDescriptorContext for this call. |
System.Type
sourceType
Type being queried for support. |
Returns
System.Boolean
True if this converter can convert from the specified type; false otherwise. |
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
Attempts to convert to a Point3D from the given object.
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
The ITypeDescriptorContext for this call. |
System.Globalization.CultureInfo
culture
The CultureInfo which is respected when converting. |
System.Object
value
The object to convert to an instance of Point3D. |
Returns
System.Object
Point3D that was constructed. |