ComponentOne Basic Library for WPF and Silverlight
ConvertFrom(ITypeDescriptorContext,CultureInfo,Object) Method


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.
Attempts to convert the specified object to an ICommand.
Syntax
'Declaration
 
Public Overloads Overrides NotOverridable Function ConvertFrom( _
   ByVal context As System.ComponentModel.ITypeDescriptorContext, _
   ByVal culture As System.Globalization.CultureInfo, _
   ByVal source As System.Object _
) As System.Object
'Usage
 
Dim instance As CommandConverter
Dim context As System.ComponentModel.ITypeDescriptorContext
Dim culture As System.Globalization.CultureInfo
Dim source As System.Object
Dim value As System.Object
 
value = instance.ConvertFrom(context, culture, source)
public override System.object ConvertFrom( 
   System.ComponentModel.ITypeDescriptorContext context,
   System.Globalization.CultureInfo culture,
   System.object source
)

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

Reference

CommandConverter Class
CommandConverter Members
Overload List