public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
        {
            bool show = values.Cast <bool>().Aggregate(true, (x, y) => x && y);

            return(ConverterHelper.GetConditionalVisibility(show, parameter));
        }
 public virtual object Convert(object value, Type targetType, object parameter, CultureInfo culture)
 {
     return(ConverterHelper.GetConditionalVisibility((bool)value, parameter));
 }
 public virtual object Convert(object value, Type targetType, object parameter, CultureInfo culture)
 {
     return(ConverterHelper.GetConditionalVisibility(!string.IsNullOrEmpty(value as string), parameter));
 }