[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberFieldSetTypeConverter.ConvertFrom

ConvertFrom Method

ConvertFrom(ITypeDescriptorContext, CultureInfo, object)

Converts the given object to the type of this converter, using the specified context and culture information.

Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Public Overrides Function ConvertFrom(context As ITypeDescriptorContext, culture As CultureInfo, value As Object) As Object
Parameters
Type Name Description
ITypeDescriptorContext context

An ITypeDescriptorContext that provides a format context.

CultureInfo culture

The CultureInfo to use as the current culture.

object value

The object to convert.

Returns
Type Description
object

An object that represents the converted value.

Overrides
Exceptions
Type Condition
FormatException

When the given object is a string but invalid for NumberFieldSet.