FuncMultiValueConverter<TIn, TOut> Class

Summary

A general purpose IValueConverter that uses a Func<T, TResult> to provide the converter logic.
Namespace
Avalonia.Data.Converters
Interfaces
Base Types
  • object
graph TD Base0["object"]-->Type Interface0["IMultiValueConverter"]-.->Type click Interface0 "/api/Avalonia.Data.Converters/IMultiValueConverter" Type["FuncMultiValueConverter<TIn, TOut>"] class Type type-node

Syntax

public class FuncMultiValueConverter<TIn, TOut> : IMultiValueConverter

Type Parameters

Name Description
TIn The type of the inputs.
TOut The output type.

Constructors

Name Summary
FuncMultiValueConverter(Func<IEnumerable<TIn>, TOut>) Initializes a new instance of the FuncValueConverter<TIn, TOut> class.

Methods

Name Value Summary
Convert(IList<object>, Type, object, CultureInfo) object
Converts multi-binding inputs to a final value.