| EnumToValuesConverterConvert(Type, String) Method |
Converts the specified enum-type into an array of the individual enum values.
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 Array Convert(
Type? type,
string? excluded = null
)
Public Shared Function Convert (
type As Type,
Optional excluded As String = Nothing
) As Array
Parameters
- type Type
- The enum type.
- excluded String (Optional)
- A comma separated list of values to exclude.
Return Value
ArrayAn array of the enum's values.
See Also