Class StringFormatConverter
This class provides a binding converter to display formatted strings
Inheritance
System.Object
    StringFormatConverter
  Implements
Microsoft.UI.Xaml.Data.IValueConverter
  Namespace: Syncfusion.UI.Xaml.Core
Assembly: Syncfusion.Core.WinUI.dll
Syntax
public class StringFormatConverter : Object, IValueConverterConstructors
StringFormatConverter()
Declaration
public StringFormatConverter()Methods
Convert(Object, Type, Object, String)
Return the formatted string version of the source object.
Declaration
public object Convert(object value, Type targetType, object parameter, string language)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | value | Object to transform to string. | 
| System.Type | targetType | The type of the target property, as a type reference | 
| System.Object | parameter | An optional parameter to be used in the string.Format method. | 
| System.String | language | The language of the conversion (not used). | 
Returns
| Type | Description | 
|---|---|
| System.Object | Formatted string. | 
ConvertBack(Object, Type, Object, String)
Not implemented.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, string language)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | value | The target data being passed to the source. | 
| System.Type | targetType | The type of the target property, as a type reference (System.Type for Microsoft .NET, a TypeName helper struct for Visual C++ component extensions (C++/CX)). | 
| System.Object | parameter | An optional parameter to be used in the converter logic. | 
| System.String | language | The language of the conversion. | 
Returns
| Type | Description | 
|---|---|
| System.Object | The value to be passed to the source object. | 
Implements
      Microsoft.UI.Xaml.Data.IValueConverter