ClassDecimalDisplayValueConverter
Class
Converts a decimal value to a display-friendly format, suitable for use in UI components.
Definition
Namespace:Telerik.Windows.Controls.Calculator
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
cs-api-definition
public class DecimalDisplayValueConverter : IValueConverter
Inheritance: objectDecimalDisplayValueConverter
Implements:
Constructors
DecimalDisplayValueConverter()
Declaration
cs-api-definition
public DecimalDisplayValueConverter()
Methods
Convert(object, Type, object, CultureInfo)
Modifies the source data before passing it to the target for display in the UI.
Declaration
cs-api-definition
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
targetType
parameter
culture
Returns
ConvertBack(object, Type, object, CultureInfo)
Modifies the target data before passing it to the source object. This method is called only in bindings.
Declaration
cs-api-definition
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
targetType
parameter
culture
Returns