PercentageTypeConverterConvertFrom(ITypeDescriptorContext, CultureInfo, Object) Method
Converts the given object to the type of this converter, using the specified context and culture information.
Namespace: DevCase.Runtime.TypeConvertersAssembly: 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
)
Public Overrides Function ConvertFrom (
context As ITypeDescriptorContext,
culture As CultureInfo,
value As Object
) As Object
Dim instance As PercentageTypeConverter
Dim context As ITypeDescriptorContext
Dim culture As CultureInfo
Dim value As Object
Dim returnValue As Object
returnValue = instance.ConvertFrom(context,
culture, value)
public:
virtual Object^ ConvertFrom(
ITypeDescriptorContext^ context,
CultureInfo^ culture,
Object^ value
) override
abstract ConvertFrom :
context : ITypeDescriptorContext *
culture : CultureInfo *
value : Object -> Object
override ConvertFrom :
context : ITypeDescriptorContext *
culture : CultureInfo *
value : Object -> Object
No code example is currently available or this language may not be supported.
- 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.
Object
An
Object that represents the converted value.
FormatException
|
Valid Range is between 0% and 100%.
|