Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / CommandConverter Class / ConvertFrom Method / ConvertFrom(ITypeDescriptorContext,CultureInfo,Object) Method
A format context that provides information about the environment from which this converter is being invoked.
Culture specific information.
The object to convert.

In This Topic
    ConvertFrom(ITypeDescriptorContext,CultureInfo,Object) Method
    In This Topic
    Attempts to convert the specified object to an ICommand.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides NotOverridable Function ConvertFrom( _
       ByVal context As ITypeDescriptorContext, _
       ByVal culture As CultureInfo, _
       ByVal source As Object _
    ) As Object

    Parameters

    context
    A format context that provides information about the environment from which this converter is being invoked.
    culture
    Culture specific information.
    source
    The object to convert.

    Return Value

    The converted object, or null reference if source is an empty string.
    See Also