| EnumToBooleanConverterConvert Method (Object, String) |
Converts the specified enum value into a boolean.
Namespace:
TomsToolbox.Wpf.Converters
Assembly:
TomsToolbox.Wpf (in TomsToolbox.Wpf.dll)
Syntax public static bool Convert(
Object? value,
string matches
)
Public Shared Function Convert (
value As Object,
matches As String
) As Boolean
Parameters
- value
- Type: SystemObject
The enum value. - matches
- Type: SystemString
A comma separated list of enum names to match.
Return Value
Type:
BooleanTrue if the value matches one of the enum names.
See Also