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

C1.WPF.DataGrid Namespace > DataGridScrollStepConverter 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 type of this converter.
Syntax
'Declaration
 
Public Overloads Overrides Function ConvertFrom( _
   ByVal context As System.ComponentModel.ITypeDescriptorContext, _
   ByVal culture As System.Globalization.CultureInfo, _
   ByVal value As System.Object _
) As System.Object
public override System.object ConvertFrom( 
   System.ComponentModel.ITypeDescriptorContext context,
   System.Globalization.CultureInfo culture,
   System.object 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

DataGridScrollStepConverter Class
DataGridScrollStepConverter Members
Overload List