Method ConvertBack
- Namespace
- Innova.Prism.Library.Converters
- Assembly
- Innova.Prism.Library.dll
ConvertBack(object, Type, object, CultureInfo)
Converts a boolean value back to the corresponding enum value.
public object ConvertBack(object value, Type targetType, object trueValue, CultureInfo culture)
Parameters
value
objectThe boolean value to convert back.
targetType
TypeThe type of the target property.
trueValue
objectThe true value to use for conversion.
culture
CultureInfoThe culture to use in the conversion.
Returns
- object
The enum value corresponding to the true value if the boolean value is true; otherwise, DependencyProperty.UnsetValue.