2 using System.Globalization;
3 using System.ComponentModel;
5 namespace Tizen.NUI.Binding
7 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
8 [EditorBrowsable(EditorBrowsableState.Never)]
9 public interface IValueConverter
14 /// <param name="value">The value produced by the binding source.</param>
15 /// <param name="targetType">The type of the binding target property.</param>
16 /// <param name="parameter">The converter parameter to use.</param>
17 /// <param name="culture">The culture to use in the converter.</param>
18 /// <returns>A converted value. If the method returns null, the valid null value is used.</returns>
19 object Convert(object value, Type targetType, object parameter, CultureInfo culture);
24 /// <param name="value">The value that is produced by the binding target.</param>
25 /// <param name="targetType">The type to convert to.</param>
26 /// <param name="parameter">The converter parameter to use.</param>
27 /// <param name="culture">The culture to use in the converter.</param>
28 /// <returns>A converted value. If the method returns null, the valid null value is used.</returns>>
29 object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture);