Interface IMultiValueConverter
- Namespace
- Avalonia.Data.Converters
- Assembly
- Avalonia.Base.dll
Converts multi-binding inputs to a final value.
public interface IMultiValueConverter
Methods
Convert(IList<object?>, Type, object?, CultureInfo)
Converts multi-binding inputs to a final value.
object? Convert(IList<object?> values, Type targetType, object? parameter, CultureInfo culture)
Parameters
values
IList<object>The values to convert.
targetType
TypeThe type of the target.
parameter
objectA user-defined parameter.
culture
CultureInfoThe culture to use.
Returns
- 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.