C# Class At.FF.Krems.Utils.WPF.Converters.PrioFirstValueMulti

Prioritize value if 0 (and return false) and then return inverted parameter.
Inheritance: IMultiValueConverter
ファイルを表示 Open project: Grisu-NOE/Infoscreen

Public Methods

Method Description
Convert ( object 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, Type 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.
The target must be a boolean
public Convert ( object values, Type targetType, object parameter, CultureInfo culture ) : object
values object 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 System.Type The type of the binding target property.
parameter object The converter parameter to use.
culture System.Globalization.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, Type targetTypes, object parameter, CultureInfo culture ) : object[]
value object The value that the binding target produces.
targetTypes System.Type 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 System.Globalization.CultureInfo The culture to use in the converter.
return object[]