ImageGear .NET v24.12 - Updated
ConvertFrom(ITypeDescriptorContext,CultureInfo,Object) Method




ImageGear24.Core Assembly > ImageGear.Display Namespace > ImGearScrollComponentInfoConverter Class > ConvertFrom Method : ConvertFrom(ITypeDescriptorContext,CultureInfo,Object) Method
An TypeDescriptor object that provides a format context. You can use this object to get additional information about the environment from which this converter is being invoked.
A CultureInfo object that specifies the culture to represent the Color.
The object to convert.
Converts the value from the specified type.
Syntax
'Declaration
 
Public Overloads Overrides Function ConvertFrom( _
   ByVal context As ITypeDescriptorContext, _
   ByVal culture As CultureInfo, _
   ByVal value As Object _
) As Object
'Usage
 
Dim instance As ImGearScrollComponentInfoConverter
Dim context As ITypeDescriptorContext
Dim culture As CultureInfo
Dim value As Object
Dim value As Object
 
value = instance.ConvertFrom(context, culture, value)
public override object ConvertFrom( 
   ITypeDescriptorContext context,
   CultureInfo culture,
   object value
)
public: Object* ConvertFrom( 
   ITypeDescriptorContext* context,
   CultureInfo* culture,
   Object* value
) override 
public:
Object^ ConvertFrom( 
   ITypeDescriptorContext^ context,
   CultureInfo^ culture,
   Object^ value
) override 

Parameters

context
An TypeDescriptor object that provides a format context. You can use this object to get additional information about the environment from which this converter is being invoked.
culture
A CultureInfo object that specifies the culture to represent the Color.
value
The object to convert.

Return Value

The converted object. This method will throw an exception if the conversion could not be performed.
See Also

Reference

ImGearScrollComponentInfoConverter Class
ImGearScrollComponentInfoConverter Members
Overload List
ImGearScrollComponentInfo Structure