diff --git a/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml b/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml
index d0002bbc..44e658f7 100644
--- a/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml
+++ b/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml
@@ -17,6 +17,7 @@
+
diff --git a/src/Shared/HandyControl_Shared/HandyControl_Shared.projitems b/src/Shared/HandyControl_Shared/HandyControl_Shared.projitems
index ea4d49e8..5933ada2 100644
--- a/src/Shared/HandyControl_Shared/HandyControl_Shared.projitems
+++ b/src/Shared/HandyControl_Shared/HandyControl_Shared.projitems
@@ -97,6 +97,7 @@
+
diff --git a/src/Shared/HandyControl_Shared/Themes/Basic/Converters.xaml b/src/Shared/HandyControl_Shared/Themes/Basic/Converters.xaml
index b4c422d2..a76f76f7 100644
--- a/src/Shared/HandyControl_Shared/Themes/Basic/Converters.xaml
+++ b/src/Shared/HandyControl_Shared/Themes/Basic/Converters.xaml
@@ -13,6 +13,7 @@
+
diff --git a/src/Shared/HandyControl_Shared/Themes/Theme.xaml b/src/Shared/HandyControl_Shared/Themes/Theme.xaml
index 76dabd37..9c0642ff 100644
--- a/src/Shared/HandyControl_Shared/Themes/Theme.xaml
+++ b/src/Shared/HandyControl_Shared/Themes/Theme.xaml
@@ -17,6 +17,7 @@
+
diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/Object2BooleanConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/Object2BooleanConverter.cs
index 892ce2c3..a4c4fb37 100644
--- a/src/Shared/HandyControl_Shared/Tools/Converter/Object2BooleanConverter.cs
+++ b/src/Shared/HandyControl_Shared/Tools/Converter/Object2BooleanConverter.cs
@@ -6,7 +6,7 @@ namespace HandyControl.Tools.Converter;
public class Object2BooleanConverter : IValueConverter
{
- public object Convert(object value, Type targetType, object parameter, CultureInfo culture) => !(value is null);
+ public object Convert(object value, Type targetType, object parameter, CultureInfo culture) => value is not null;
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/Object2BooleanReConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/Object2BooleanReConverter.cs
new file mode 100644
index 00000000..798c5237
--- /dev/null
+++ b/src/Shared/HandyControl_Shared/Tools/Converter/Object2BooleanReConverter.cs
@@ -0,0 +1,15 @@
+using System;
+using System.Globalization;
+using System.Windows.Data;
+
+namespace HandyControl.Tools.Converter;
+
+public class Object2BooleanReConverter : IValueConverter
+{
+ public object Convert(object value, Type targetType, object parameter, CultureInfo culture) => value is null;
+
+ public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
+ {
+ throw new NotSupportedException();
+ }
+}