Exemple #1
0
 public object Convert(object value, Type targetType, object parameter, string language)
 {
     return(TruthyToVisibleConverter.IsDefault(value) ? 1 : 0.5);
 }
Exemple #2
0
 public object Convert(object value, Type targetType, object parameter, string language)
 {
     return(TruthyToVisibleConverter.IsDefault(value) ? Visibility.Visible : Visibility.Collapsed);
 }