ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) Method

Definition

Namespace Svg
Assembly Svg.Custom.dll

Converts the given object to the converter's native type.

public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)

Parameters

context
ITypeDescriptorContext

A System.ComponentModel.TypeDescriptor 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
CultureInfo?

A CultureInfo? that specifies the culture to represent the color.

value
Object

The object to convert.

Returns

Object
An Object representing the converted value.