Table of Contents

Class ToStringConverter

Namespace
Artemis.UI.Shared.Converters
Assembly
Artemis.UI.Shared.dll

Converts any object to string by calling its ToString implementation, seems Avalonia doesn't do this

public class ToStringConverter : IValueConverter
Inheritance
object
ToStringConverter
Implements
IValueConverter

Methods

Convert(object?, Type, object?, CultureInfo)

public object? Convert(object? value, Type targetType, object? parameter, CultureInfo culture)

Parameters

value object
targetType Type
parameter object
culture CultureInfo

Returns

object

ConvertBack(object?, Type, object?, CultureInfo)

public object? ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture)

Parameters

value object
targetType Type
parameter object
culture CultureInfo

Returns

object