StringFormatConverter Class
Definition
Formats the first value (a string.Format(IFormatProvider,string,object[]) pattern from Avalonia.Controls.PdfViewerStrings) with the remaining values, in the binding's culture. Lets the template compose "of 5" from a translatable pattern rather than from fragments whose word order is fixed.
public class StringFormatConverter
Constructors
| Name | Description |
|---|---|
| StringFormatConverter | No summary available. |
StringFormatConverter Constructor
public StringFormatConverter()
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
Fields
| Name | Description |
|---|---|
| Instance | The shared instance. |
Instance Field
The shared instance.
public Avalonia.Controls.Pdf.Converters.StringFormatConverter Instance