| ObjectToDescriptionConverterConvert Method (Object, Type) |
Namespace:
TomsToolbox.Wpf.Converters
Assembly:
TomsToolbox.Wpf (in TomsToolbox.Wpf.dll)
Syntax public static string Convert(
Object? value,
Type? enumType
)
Public Shared Function Convert (
value As Object,
enumType As Type
) As String
Parameters
- value
- Type: SystemObject
The value. - enumType
- Type: SystemType
An optional type of an enum to support converting Enum where the value is given as a number or string.
Return Value
Type:
StringThe description of the value.
See Also