Class ValueFormatter
Used to convert numeric objects and dates to strings for display in WPF controls.
public class ValueFormatter : IValueConverter
- Inheritance
-
ValueFormatter
- Implements
- Inherited Members
- Extension Methods
Methods
Convert(object, Type, object, CultureInfo)
Converts the specified object using the string format found in parameter.
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
objecttargetType
Typeparameter
objectA .NET string format specifier
culture
CultureInfo
Returns
ConvertBack(object, Type, object, CultureInfo)
Not implemented.
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
objecttargetType
Typeparameter
objectculture
CultureInfo