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 BT
Type-->Base0["object"]
Type-.->Interface0["IValueConverter"]
click Interface0 "/api/Avalonia.Data.Converters/IValueConverter"
Type["FuncValueConverter<TIn, TOut>"]
class Type type-node
Syntax
public class FuncValueConverter<TIn, TOut> : IValueConverter
Type Parameters
Name | Description |
---|---|
TIn | The input type. |
TOut | The output type. |
Constructors
Name | Summary |
---|---|
FuncValueConverter |
Initializes a new instance of the FuncValueConverter<TIn, TOut> class.
|
Methods
Name | Value | Summary |
---|---|---|
Convert |
object |
Converts a value.
|
ConvertBack |
object |
Converts a value.
|