Click or drag to resize

EnumToValuesConverterConvert Method (Type, String)

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

Namespace:  TomsToolbox.Wpf.Converters
Assembly:  TomsToolbox.Wpf (in TomsToolbox.Wpf.dll)
Syntax
public static Array Convert(
	Type? type,
	string? excluded = null
)

Parameters

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

Return Value

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