Click or drag to resize

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
)

Parameters

value
Type: SystemObject
The enum value.
matches
Type: SystemString
A comma separated list of enum names to match.

Return Value

Type: Boolean
True if the value matches one of the enum names.
See Also