Windows: Use Indeterminate event in ThreeState CheckBoxes
All checks were successful
Test / Run tests (push) Successful in 2m19s
All checks were successful
Test / Run tests (push) Successful in 2m19s
This commit is contained in:
@ -11,11 +11,7 @@ using Brushes = System.Windows.Media.Brushes;
|
||||
namespace Elwig.Helpers {
|
||||
public class ControlUtils {
|
||||
|
||||
public enum RenewSourceDefault {
|
||||
None,
|
||||
IfOnly,
|
||||
First
|
||||
}
|
||||
public enum RenewSourceDefault { None, IfOnly, First }
|
||||
|
||||
private static void SetControlBorderBrush(Control input, Brush brush) {
|
||||
if (input is ComboBox cb) {
|
||||
|
@ -523,11 +523,11 @@
|
||||
<CheckBox x:Name="LesewagenInput" IsChecked="{Binding IsLesewagen, Mode=TwoWay}"
|
||||
Content="Lesewagen" Margin="10,75,0,0" Grid.Column="2"
|
||||
VerticalAlignment="Top" HorizontalAlignment="Left"
|
||||
Checked="LesewagenInput_Changed" Unchecked="LesewagenInput_Changed" Click="HandPickedInput_Changed"/>
|
||||
Checked="LesewagenInput_Changed" Unchecked="LesewagenInput_Changed"/>
|
||||
<CheckBox x:Name="HandPickedInput" IsChecked="{Binding IsHandPicked, Mode=TwoWay}"
|
||||
Content="Handlese" Margin="10,105,0,0" Grid.Column="2" IsThreeState="True"
|
||||
VerticalAlignment="Top" HorizontalAlignment="Left"
|
||||
Checked="HandPickedInput_Changed" Unchecked="HandPickedInput_Changed" Click="HandPickedInput_Changed"/>
|
||||
Checked="HandPickedInput_Changed" Unchecked="HandPickedInput_Changed" Indeterminate="HandPickedInput_Changed"/>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
|
||||
@ -594,7 +594,7 @@
|
||||
<CheckBox x:Name="GebundenInput" IsChecked="{Binding IsGebunden, Mode=TwoWay}"
|
||||
Content="Gebunden" Margin="10,105,0,0" Grid.Column="0" Grid.ColumnSpan="2" IsThreeState="True"
|
||||
VerticalAlignment="Top" HorizontalAlignment="Left"
|
||||
Checked="CheckBox_Changed" Unchecked="CheckBox_Changed"/>
|
||||
Checked="CheckBox_Changed" Unchecked="CheckBox_Changed" Indeterminate="CheckBox_Changed"/>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</Grid>
|
||||
|
Reference in New Issue
Block a user