ClassStringFormatConverter
Class
A value converter which converts a value into a string using the specified string format.
Definition
Namespace:Telerik.Core
Assembly:Telerik.WinUI.Controls.dll
Syntax:
cs-api-definition
public class StringFormatConverter : IValueConverter
Inheritance: objectStringFormatConverter
Implements:
Constructors
StringFormatConverter()
Declaration
cs-api-definition
public StringFormatConverter()
Methods
Convert(object, Type, object, string)
Returns the formatted string version of the source object.
Declaration
cs-api-definition
public object Convert(object value, Type targetType, object parameter, string language)
Parameters
value
The value to convert.
targetType
The target type is ignored by the StringFormatConverter.
parameter
An optional parameter to be used in the string.Format method. If parameter is a null reference, value will be returned unmodified.
language
The language is ignored by the StringFormatConverter.
Returns
Formatted string.