Convert Method
Converts multi-binding inputs to a final value.
Definition
Namespace: Avalonia.Data.Converters
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
Object? Convert(
IList<Object?> values,
Type targetType,
Object? parameter,
CultureInfo culture
)
Function Convert (
values As IList(Of Object),
targetType As Type,
parameter As Object,
culture As CultureInfo
) As Object
abstract Convert :
values : IList<Object> *
targetType : Type *
parameter : Object *
culture : CultureInfo -> Object
Parameters
- IList(Object)
- The values to convert.
- Type
- The type of the target.
- Object
- A user-defined parameter.
- CultureInfo
- The culture to use.
Return Value
Object
The converted value.
Remarks
This method should not throw exceptions. If the value is not convertible, return UnsetValue. Any exception thrown will be treated as an application exception.
See Also
Reference
IMultiValueConverter Interface
Avalonia.Data.Converters Namespace