Class
DecimalDisplayValueConverter

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: IValueConverter

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

object

targetType

Type

parameter

object

culture

CultureInfo

Returns

object

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

object

targetType

Type

parameter

object

culture

CultureInfo

Returns

object