Пример #1
0
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            bool boolean = ConverterHelper.StringToBoolean(value, Inverse);

            return(ConverterHelper.BooleanToVisibility(boolean, HiddenInsteadOfCollapsed));
        }
Пример #2
0
 public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
 {
     return(ConverterHelper.StringToBoolean(value, Inverse));
 }