public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { var stringValue = value == null ? string.Empty : value.ToString(); return(BoolConvertHelper.ConvertCompare(stringValue, "0")); }
public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { var stringValue = value == null ? string.Empty : value.ToString(); return(BoolConvertHelper.ConvertCompare(stringValue, "true") ? "ViewCellSelected" : "ViewCellBasic"); }
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) { return(BoolConvertHelper.ConvertBack()); }
public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { return(!BoolConvertHelper.ConvertIsNullOrWhiteSpace(value as string)); }