AlternationConverter.ConvertBack(Object, Type, Object, CultureInfo) Method

Definition

Converts an object in the Values list to an integer.

public object ConvertBack (object o, Type targetType, object parameter, System.Globalization.CultureInfo culture);

Parameters

o
Object

The object to find in the Values property.

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.

Returns

The index of o if it is in Values, or -1 if o does not exist in Values.

Implements

Applies to

Produit Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9