Class DoublToStringConverter
Responsible for System.Double to System.String converting.
Inheritance
System.Object
DoublToStringConverter
Implements
System.Windows.Data.IValueConverter
Namespace: Syncfusion.Windows.Tools
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class DoublToStringConverter : Object, IValueConverter
Constructors
DoublToStringConverter()
Declaration
public DoublToStringConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts System.Double value to System.String value.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The System.Double value to be converted. |
System.Type | targetType | Type, value should be converted to. |
System.Object | parameter | Is not used. |
System.Globalization.CultureInfo | culture | Currently used culture. Is not used. |
Returns
Type | Description |
---|---|
System.Object | Converted value. |
ConvertBack(Object, Type, Object, CultureInfo)
Converts System.String value to System.Double value.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The System.String value to be converted. |
System.Type | targetType | Type, value should be converted to. |
System.Object | parameter | Is not used. |
System.Globalization.CultureInfo | culture | Currently used culture. Is not used. |
Returns
Type | Description |
---|---|
System.Object | Converted value. |
Implements
System.Windows.Data.IValueConverter