object IMultiValueConverter.Convert(object[] values, Type targetType, object parameter, CultureInfo culture) => BooleanBoxes.GetBox(values.OfType <bool>().All(AndConverter._isTrue));
Beispiel #2
0
 object IValueConverter.Convert([AllowNull] object value, Type targetType, object parameter, CultureInfo culture)
 {
     return(BooleanBoxes.GetBox(string.IsNullOrEmpty(value as string)));
 }
Beispiel #3
0
 public static void SetKill(FrameworkElement element, bool value) => element?.SetValue(FocusVisualStyleKiller.KillProperty, BooleanBoxes.GetBox(value));