Click or drag to resize

EnumToValuesConverterConvert(Type, String) Method

Converts the specified enum-type into an array of the individual enum values.

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 Array Convert(
	Type? type,
	string? excluded = null
)

Parameters

type  Type
The enum type.
excluded  String  (Optional)
A comma separated list of values to exclude.

Return Value

Array
An array of the enum's values.
See Also