Click or drag to resize

EnumToBooleanConverterConvert(Object, String) Method

Converts the specified enum value into a boolean.

Namespace: TomsToolbox.Wpf.Converters
Assembly: TomsToolbox.Wpf (in TomsToolbox.Wpf.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public static bool Convert(
	Object? value,
	string matches
)

Parameters

value  Object
The enum value.
matches  String
A comma separated list of enum names to match.

Return Value

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