Class EnumDisplayNameConverter
A value converter that takes enum value and returns name of the enum.
Inheritance
System.Object
EnumDisplayNameConverter
Implements
Microsoft.UI.Xaml.Data.IValueConverter
Namespace: Syncfusion.UI.Xaml.Core
Assembly: Syncfusion.Core.WinUI.dll
Syntax
public class EnumDisplayNameConverter : Object, IValueConverter
Constructors
EnumDisplayNameConverter()
Declaration
public EnumDisplayNameConverter()
Methods
Convert(Object, Type, Object, String)
Declaration
public object Convert(object value, Type targetType, object parameter, string language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | |
System.Type | targetType | |
System.Object | parameter | |
System.String | language |
Returns
Type |
---|
System.Object |
ConvertBack(Object, Type, Object, String)
Declaration
public object ConvertBack(object value, Type targetType, object parameter, string language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | |
System.Type | targetType | |
System.Object | parameter | |
System.String | language |
Returns
Type |
---|
System.Object |
Implements
Microsoft.UI.Xaml.Data.IValueConverter