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 parameter, CultureInfo culture)
Parameters
valueobjectThe enum value to convert.
targetTypeTypeThe type of the target property.
parameterobjectThe parameter to compare against.
cultureCultureInfoThe culture to use in the conversion.
Returns
- object
True if the enum value equals the parameter; otherwise, false.