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
value
objectThe enum value to convert.
targetType
TypeThe type of the target property.
parameter
objectThe parameter to compare against.
culture
CultureInfoThe culture to use in the conversion.
Returns
- object
True if the enum value equals the parameter; otherwise, false.