EnumDescriptionConverterConvert Method DW.WPFToolkit Documentation
Takes the value and tries to cast it to System.Enum to read it description attribute.

Namespace: DW.WPFToolkit.Controls
Assembly: DW.WPFToolkit (in DW.WPFToolkit.dll) Version: 5.6.0.0
Syntax

C#
public Object Convert(
	Object value,
	Type targetType,
	Object parameter,
	CultureInfo culture
)

Parameters

value
Type: SystemObject
The enum value which description should be read.
targetType
Type: SystemType
This parameter is not used.
parameter
Type: SystemObject
This parameter is not used.
culture
Type: System.GlobalizationCultureInfo
This parameter is not used.

Return Value

Type: Object
The description text of the enum value if any; the enum name as a string. If the parameter is not an System.Enum it returns string.Empty

Implements

IValueConverterConvert(Object, Type, Object, CultureInfo)
See Also

Reference