Method Convert
- Namespace
- Innova.Prism.Library.Converters
- Assembly
- Innova.Prism.Library.dll
Convert(object, Type, object, CultureInfo)
Converts an enum value to a boolean value.
public object Convert(object value, Type targetType, object trueValue, CultureInfo culture)
Parameters
valueobjectThe enum value to convert.
targetTypeTypeThe type of the target property.
trueValueobjectThe true value to compare against.
cultureCultureInfoThe culture to use in the conversion.
Returns
- object
True if the enum value equals the true value; otherwise, DependencyProperty.UnsetValue.