Class DoublToStringConverter
Responsible for System.Double to System.String converting.
Inheritance
System.Object
DoublToStringConverter
Implements
System.Windows.Data.IValueConverter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Tools
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public class DoublToStringConverter : 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