PercentageTypeConverterConvertFrom(ITypeDescriptorContext, CultureInfo, Object) Method

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

Definition

Namespace: DevCase.Runtime.TypeConverters
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public override Object ConvertFrom(
	ITypeDescriptorContext context,
	CultureInfo culture,
	Object value
)

Parameters

context  ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
culture  CultureInfo
The CultureInfo to use as the current culture.
value  Object
The Object to convert.

Return Value

Object
An Object that represents the converted value.

Exceptions

FormatException Valid Range is between 0% and 100%.

See Also