Table of Contents

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 parameter, CultureInfo culture)

Parameters

value object

The boolean value to convert back.

targetType Type

The type of the target property.

parameter object

The parameter to use for conversion.

culture CultureInfo

The culture to use in the conversion.

Returns

object

The enum value corresponding to the parameter if the boolean value is true; otherwise, DependencyProperty.UnsetValue.