Interface IValueConverter
Definition
- Namespace:
- Tizen.NUI.Binding
- Assembly:
- Tizen.NUI.dll
C#Copypublic interface IValueConverter
Methods
Declaration
C#Copyobject Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
Object | value | The value produced by the binding source. |
Type | targetType | The type of the binding target property. |
Object | parameter | The converter parameter to use. |
CultureInfo | culture | The culture to use in the converter. |
Returns
Type | Description |
---|---|
Object | A converted value. If the method returns null, the valid null value is used. |
Declaration
C#Copyobject ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
Object | value | The value that is produced by the binding target. |
Type | targetType | The type to convert to. |
Object | parameter | The converter parameter to use. |
CultureInfo | culture | The culture to use in the converter. |
Returns
Type | Description |
---|---|
Object | A converted value. If the method returns null, the valid null value is used. |