Skip to main content

StringFormatMultiValueConverter Class

Definition​

Assembly:Avalonia.Base
Package:Avalonia

A multi-value converter which calls string.Format(string,object)

public class StringFormatMultiValueConverter

Inheritance: object -> StringFormatMultiValueConverter

Constructors​

StringFormatMultiValueConverter Constructor​

Initializes a new instance of the Avalonia.Data.Converters.StringFormatMultiValueConverter class.

public StringFormatMultiValueConverter(string format, Avalonia.Data.Converters.IMultiValueConverter inner)

Parameters​

format string

The format string.

inner Avalonia.Data.Converters.IMultiValueConverter

An optional inner converter to be called before the format takes place.

Methods​

NameDescription
ConvertNo summary available.

Convert Method​

public object Convert(System.Collections.Generic.IList<object> values, Type targetType, object parameter, System.Globalization.CultureInfo culture)

Parameters​

values System.Collections.Generic.IList<object>

targetType Type

parameter object

culture System.Globalization.CultureInfo

Returns​

object

Properties​

NameDescription
FormatGets the format string.
InnerGets an inner value converter which will be called before the string format takes place.

Format Property​

Gets the format string.

public string Format { get; set; }

Inner Property​

Gets an inner value converter which will be called before the string format takes place.

public Avalonia.Data.Converters.IMultiValueConverter Inner { get; set; }