C# Class LiveCharts.Wpf.OrientationConverter

Inheritance: IMultiValueConverter
Show file Open project: VE-2016/VE-2016

Public Methods

Method Description
Convert ( Array values, Type targetType, object parameter, CultureInfo culture ) : object

Converts source values to a value for the binding target. The data binding engine calls this method when it propagates the values from source bindings to the binding target.

ConvertBack ( object value, Array targetTypes, object parameter, CultureInfo culture ) : object[]

Converts a binding target value to the source binding values.

Method Details

Convert() public method

Converts source values to a value for the binding target. The data binding engine calls this method when it propagates the values from source bindings to the binding target.
public Convert ( Array values, Type targetType, object parameter, CultureInfo culture ) : object
values Array The array of values that the source bindings in the produces. The value indicates that the source binding has no value to provide for conversion.
targetType Type The type of the binding target property.
parameter object The converter parameter to use.
culture CultureInfo The culture to use in the converter.
return object

ConvertBack() public method

Converts a binding target value to the source binding values.
public ConvertBack ( object value, Array targetTypes, object parameter, CultureInfo culture ) : object[]
value object The value that the binding target produces.
targetTypes Array The array of types to convert to. The array length indicates the number and types of values that are suggested for the method to return.
parameter object The converter parameter to use.
culture CultureInfo The culture to use in the converter.
return object[]