StringFormatMultiValueConverter Class
Definition
A multi-value converter which calls string.Format(string,object)
public class StringFormatMultiValueConverter
Constructors
| Name | Description |
|---|---|
| StringFormatMultiValueConverter | Initializes a new instance of the Avalonia.Data.Converters.StringFormatMultiValueConverter class. |
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
| Name | Description |
|---|---|
| Convert | No 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
| Name | Description |
|---|---|
| Format | Gets the format string. |
| Inner | Gets 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; }