9 class FromBoolToStar : IValueConverter
19 public object Convert(
object value, Type targetType,
object parameter,
20 System.Globalization.CultureInfo culture)
36 public object ConvertBack(
object value, Type targetType,
object parameter,
37 System.Globalization.CultureInfo culture)
39 if ((
string)value ==
string.Empty)
41 else if ((
string)value ==
"*")
44 throw new ApplicationException(
App.FindStringResource(
"UnexpectedErrorMessage"));
object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
Convert bool status to string or string "*".
GUIInteractions logic for App.xaml
object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
Convert empty string or string "*" to bool status.