Class IntArrayToDoubleValueConverter
Represents a converter that converts the first object of an Array of integer objects into a double object and vise versa. If the Array is null or empty the converter returns null.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class IntArrayToDoubleValueConverter : IValueConverter
Constructors
IntArrayToDoubleValueConverter()
Declaration
public IntArrayToDoubleValueConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts the first value of an integer type Array into a value of type double.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
The Array that will be used by the converter. |
System.Type
targetType
This parameter is not used. |
System.Object
parameter
This parameter is not used. |
System.Globalization.CultureInfo
culture
This parameter is not used. |
Returns
System.Object
|
ConvertBack(Object, Type, Object, CultureInfo)
Converts a value of type double into Array of integers.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
The double that will be used by the converter. |
System.Type
targetType
This parameter is not used. |
System.Object
parameter
This parameter is not used. |
System.Globalization.CultureInfo
culture
This parameter is not used. |
Returns
System.Object
|