ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) Method
Converts the given object to the type of this converter, using the specified context and culture information.
Definition
Namespace: Avalonia.Markup.Xaml.Converters
Assembly: Avalonia.Markup.Xaml (in Avalonia.Markup.Xaml.dll)
- C#
- VB
- F#
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
abstract ConvertFrom :
context : ITypeDescriptorContext *
culture : CultureInfo *
value : Object -> Object
override ConvertFrom :
context : ITypeDescriptorContext *
culture : CultureInfo *
value : Object -> Object
Parameters
- ITypeDescriptorContext
- An ITypeDescriptorContext that provides a format context.
- CultureInfo
- The CultureInfo to use as the current culture.
- Object
- The Object to convert.
Return Value
Object
An Object that represents the converted value.
Exceptions
NotSupportedException | The conversion cannot be performed. |
See Also
Reference
BitmapTypeConverter Class
ConvertFrom Overload
Avalonia.Markup.Xaml.Converters Namespace