using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Data; namespace CyberX8_Themes.Converters { public class ToBoolMultiValueConverter3 : IMultiValueConverter { public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture) { if ((bool)values[0] == false && (bool)values[1] == true && (bool)values[2] == true && (bool)values[3] == true) { return true; } else { return false; } } public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture) { throw new NotImplementedException(); } } }