From 29f7bb4aae7b66101e36627a10754cae466d42ad Mon Sep 17 00:00:00 2001
From: "harald.martini@student.tugraz.at" <harald.martini@student.tugraz.at>
Date: Tue, 21 Sep 2021 08:09:01 +0200
Subject: [PATCH] Added third state to nullable checkboxes

---
 .../CustomControls/MultistageParameterCheckBoxView.xaml         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/VECTO3GUI2020/Views/Multistage/CustomControls/MultistageParameterCheckBoxView.xaml b/VECTO3GUI2020/Views/Multistage/CustomControls/MultistageParameterCheckBoxView.xaml
index 60b1414133..e3ae10744a 100644
--- a/VECTO3GUI2020/Views/Multistage/CustomControls/MultistageParameterCheckBoxView.xaml
+++ b/VECTO3GUI2020/Views/Multistage/CustomControls/MultistageParameterCheckBoxView.xaml
@@ -37,7 +37,7 @@
                       Visibility="{Binding ShowConsolidatedData, Converter={StaticResource BooleanToVisibilityConverter}}">
             </CheckBox>
 
-            <CheckBox x:Name="checkBox1" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Center" 
+            <CheckBox x:Name="checkBox1" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Center" IsThreeState="{Binding AllowNullValue}"
                       IsEnabled="{Binding 
                 Path=EditingEnabled, UpdateSourceTrigger=PropertyChanged}"
                       IsChecked="{Binding CurrentContent, Mode=TwoWay, ValidatesOnDataErrors=True, ValidatesOnExceptions=True, Converter={StaticResource XToBoolConverter},
-- 
GitLab