Table of Contents

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 Type

The type of the target.

parameter object

A user-defined parameter.

culture CultureInfo

The 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.