| EnumToBooleanConverterConvert(Object, String) Method |
Converts the specified enum value into a boolean.
Namespace: TomsToolbox.Wpf.ConvertersAssembly: 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
)
Public Shared Function Convert (
value As Object,
matches As String
) As Boolean
Parameters
- value Object
- The enum value.
- matches String
- A comma separated list of enum names to match.
Return Value
BooleanTrue if the value matches one of the enum names.
See Also