TXTextControl.WPF.LogarithmicConverter.Convert Method

Converts an integer or a double precision floating point value to an integer or a double precision floating point value.

Syntax

[C#]
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture);
[Visual Basic]
Public Function Convert(value As Object, targetType As Type, parameter As Object, culture As CultureInfo) As Object
Member Description
value

The value produced by the binding source. It must be either a double precision floating point value or an integer.

targetType

The type of the binding target property. It must be either a double precision floating point value or an integer.

parameter

The converter parameter. Is not used by this converter.

culture

The culture to use in the converter.

Return Value

The converted value. The method returns DependencyProperty.UnsetValue, if the conversion is not possible.

See Also