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.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

cs-api-definition
public class IntArrayToDoubleValueConverter : IValueConverter

Inheritance: objectIntArrayToDoubleValueConverter

Implements: IValueConverter

Constructors

IntArrayToDoubleValueConverter()

Declaration

cs-api-definition
public IntArrayToDoubleValueConverter()

Methods

Convert(object, Type, object, CultureInfo)

Converts the first value of an integer type Array into a value of type double.

Declaration

cs-api-definition
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)

Parameters

value

object

The Array that will be used by the converter.

targetType

Type

This parameter is not used.

parameter

object

This parameter is not used.

culture

CultureInfo

This parameter is not used.

Returns

object

ConvertBack(object, Type, object, CultureInfo)

Converts a value of type double into Array of integers.

Declaration

cs-api-definition
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)

Parameters

value

object

The double that will be used by the converter.

targetType

Type

This parameter is not used.

parameter

object

This parameter is not used.

culture

CultureInfo

This parameter is not used.

Returns

object