| 1234567891011121314151617181920212223242526272829303132 | 
							- using System;
 
- using System.Collections.Generic;
 
- using System.Linq;
 
- using System.Text;
 
- using System.Threading.Tasks;
 
- using System.Windows;
 
- using System.Windows.Data;
 
- namespace PunkHPX8_Themes.Converters
 
- {
 
-     public class MutiBoolToBool : IMultiValueConverter
 
-     {
 
-         public object Convert(object[] value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
 
-         {
 
-             if (value[0] != DependencyProperty.UnsetValue && value[1] != DependencyProperty.UnsetValue)
 
-             {
 
-                 return (bool)value[0] && (bool)value[1];
 
-             }
 
-             else
 
-             {
 
-                 return false;
 
-             }
 
-             
 
-         }
 
-         public object[] ConvertBack(object value, Type[] targetType, object parameter, System.Globalization.CultureInfo culture)
 
-         {
 
-             return null;
 
-         }
 
-     }
 
- }
 
 
  |