4 using System.Globalization;
8 namespace SiliconStudio.Presentation.ValueConverters
12 public override object Convert(
object[] values, Type targetType,
object parameter, CultureInfo culture)
14 if (values.Length < 2)
15 throw new InvalidOperationException(
"This multi converter must be invoked with at least two elements");
17 return values.All(x => x != DependencyProperty.UnsetValue && (bool)x);
override object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)