Table of Contents

Method ConvertFrom

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

ConvertFrom(ITypeDescriptorContext?, CultureInfo?, object?)

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

public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? source)

Parameters

context ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context.

culture CultureInfo

The CultureInfo to use as the current culture.

source object

Returns

object

An object that represents the converted value.

Exceptions

NotSupportedException

The conversion cannot be performed.