Summary
Converts multi-binding inputs to a final value.
- Namespace
- Avalonia
.Data .Converters - Containing Type
- IMultiValueConverter
Syntax
object Convert(IList<object> values, Type targetType, object parameter, CultureInfo culture)
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.
Parameters
Name | Type | Description |
---|---|---|
values | IList |
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
Type | Description |
---|---|
object | The converted value. |