Basic Library for WPF and Silverlight | ComponentOne
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.

In This Topic
    ConvertFrom(ITypeDescriptorContext,CultureInfo,Object) Method
    In This Topic
    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

    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
    See Also