StringFormatValueConverter Class

Summary

A value converter which calls System.String.Format(System.String,System.Object)
Namespace
Avalonia.Data.Converters
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IValueConverter"] click Interface0 "/api/Avalonia.Data.Converters/IValueConverter" Type["StringFormatValueConverter"] class Type type-node

Syntax

public class StringFormatValueConverter : IValueConverter

Constructors

Name Summary
StringFormatValueConverter(string, IValueConverter) Initializes a new instance of the StringFormatValueConverter class.

Properties

Name Value Summary
Format string
Gets the format string.
Inner IValueConverter
Gets an inner value converter which will be called before the string format takes place.

Methods

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