Convert Method
Converts a value.
Definition
Namespace: Avalonia.Data.Converters
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public Object? Convert(
Object? value,
Type targetType,
Object? parameter,
CultureInfo culture
)
Public Function Convert (
value As Object,
targetType As Type,
parameter As Object,
culture As CultureInfo
) As Object
abstract Convert :
value : Object *
targetType : Type *
parameter : Object *
culture : CultureInfo -> Object
override Convert :
value : Object *
targetType : Type *
parameter : Object *
culture : CultureInfo -> Object
Parameters
- Object
- The value to convert.
- Type
- The type of the target.
- Object
- A user-defined parameter.
- CultureInfo
- The culture to use.
Return Value
Object
The converted value.
Implements
IValueConverter.Convert(Object, Type, Object, CultureInfo)See Also
Reference
DefaultValueConverter Class
Avalonia.Data.Converters Namespace