IMultiValueConverterConvert Method

Converts multi-binding inputs to a final value.

Definition

Namespace: Avalonia.Data.Converters
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
Object? Convert(
	IList<Object?> values,
	Type targetType,
	Object? parameter,
	CultureInfo culture
)

Parameters

values  IListObject
The values to convert.
targetType  Type
The type of the target.
parameter  Object
A user-defined parameter.
culture  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