New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class IntArrayToDoubleValueConverter : IValueConverter

Inheritance: objectIntArrayToDoubleValueConverter

Implements: IValueConverter

Constructors

C#
public IntArrayToDoubleValueConverter()

Methods

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

C#
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters:valueobject

The Array that will be used by the converter.

targetTypeType

This parameter is not used.

parameterobject

This parameter is not used.

cultureCultureInfo

This parameter is not used.

Returns:

object

Converts a value of type double into Array of integers.

C#
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters:valueobject

The double that will be used by the converter.

targetTypeType

This parameter is not used.

parameterobject

This parameter is not used.

cultureCultureInfo

This parameter is not used.

Returns:

object