| ObjectToDescriptionConverterConvert(Object, Type) Method |
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 string Convert(
Object? value,
Type? enumType
)
Public Shared Function Convert (
value As Object,
enumType As Type
) As String
Parameters
- value Object
- The value.
- enumType Type
- An optional type of an enum to support converting Enum where the value is given as a number or string.
Return Value
StringThe description of the value.
See Also