ComponentOne FinancialChart for WPF
ConvertFrom(ITypeDescriptorContext,CultureInfo,Object) Method



C1.WPF Namespace > C1ZoomUnitTypeConverter Class > ConvertFrom Method : ConvertFrom(ITypeDescriptorContext,CultureInfo,Object) Method
An object that provides a format context.
The System.Globalization.CultureInfo to use as the current culture.
The value to convert to the type of this converter.
Converts from the specified value to the intended conversion type of the converter.
Syntax
'Declaration
 
Public Overloads Overrides Function ConvertFrom( _
   ByVal context As ITypeDescriptorContext, _
   ByVal culture As CultureInfo, _
   ByVal value As Object _
) As Object
'Usage
 
Dim instance As C1ZoomUnitTypeConverter
Dim context As ITypeDescriptorContext
Dim culture As CultureInfo
Dim value As Object
Dim value As Object
 
value = instance.ConvertFrom(context, culture, value)

Parameters

context
An object that provides a format context.
culture
The System.Globalization.CultureInfo to use as the current culture.
value
The value to convert to the type of this converter.

Return Value

The converted value.
Exceptions
ExceptionDescription
System.ComponentModel.TypeConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object) not implemented in base System.ComponentModel.TypeConverter.
See Also

Reference

C1ZoomUnitTypeConverter Class
C1ZoomUnitTypeConverter Members
Overload List