0
Wie mache ich alle Kontrollkästchen angeklickt, wenn ich auf Alles auswählen klicke und es sollte deaktiviert werden, wenn ich alle auswählen. Lass es mich wissen, bitte .Aktivieren Sie das Kontrollkästchen bei Auswahl von Alle in WPF auswählen
<ListBox ItemsSource="{Binding Inputbinding}" >
<CheckBox x:Name="chkSelectAll" Content="Select All" />
<CheckBox x:Name="chkjon" Content="Jon" />
<CheckBox x:Name="chkbob" Content="Bob" />
<CheckBox x:Name="chkmary" Content="Mary" />
</ListBox>
<Button x:Name="btnUserName" Height="25" Margin="0,10,10,0"
IsEnabled="{Binding Path=IsButtonEnabled,Mode=TwoWay}" Click="BtnInput_Click" >
<TextBlock >Submit</TextBlock>
</Button>
Vielen Dank Tabby. es funktioniert . –