IValueConverter Interface

Summary

Converts a binding value.
graph BT Type["IValueConverter"] class Type type-node Implementing0["ColorToBrushConverter"]-.->Type click Implementing0 "/api/Avalonia.Markup.Xaml.Converters/ColorToBrushConverter" Implementing1["DefaultValueConverter"]-.->Type click Implementing1 "/api/Avalonia.Data.Converters/DefaultValueConverter" Implementing2["PlatformKeyGestureConverter"]-.->Type click Implementing2 "/api/Avalonia.Controls.Converters/PlatformKeyGestureConverter" Implementing3["CornerRadiusFilterConverter"]-.->Type click Implementing3 "/api/Avalonia.Controls.Converters/CornerRadiusFilterConverter" Implementing4["StringFormatValueConverter"]-.->Type click Implementing4 "/api/Avalonia.Data.Converters/StringFormatValueConverter" Implementing5["MarginMultiplierConverter"]-.->Type click Implementing5 "/api/Avalonia.Controls.Converters/MarginMultiplierConverter" Implementing6["FuncValueConverter<TIn, TOut>"]-.->Type click Implementing6 "/api/Avalonia.Data.Converters/FuncValueConverter_2"

Syntax

public interface IValueConverter

Methods

Name Value Summary
Convert(object, Type, object, CultureInfo) object
Converts a value.
ConvertBack(object, Type, object, CultureInfo) object
Converts a value.