I have list of check boxes. The Content binding works fine. I have a list of Settings in the Application Settings of type bool. My question, how to bind IsChecked to these Settings ?
Your help is greatly appreciated.
Code
ListBox Name="CheckBoxZone" ItemsSource="{Binding mySourceProperty}">Code
ListBox.ItemTemplate>Code
DataTemplate>Code
CheckBox Name="CheckBoxZone" Content="{Binding Text}" IsChecked="{Binding IsChkd}" />Code
DataTemplate>Code
ListBox.ItemTemplate>Code
ListBox>
Amit GuptaRank #190 · 12.8K reputationPosted Feb 2, 2017, 5:01 AM EST
Simba White34 reputationPosted Feb 2, 2017, 5:42 AM EST
Simba White34 reputationPosted Feb 2, 2017, 5:48 AM EST
Amit GuptaRank #190 · 12.8K reputationPosted Feb 2, 2017, 7:15 AM EST
Simba White34 reputationPosted Feb 2, 2017, 8:52 AM EST
Amit GuptaRank #190 · 12.8K reputationPosted Feb 2, 2017, 8:57 AM EST
Rafnas T PRank #280 · 8.8K reputationPosted Feb 2, 2017, 6:25 PM EST
hi Simba White, try this CheckBox Name="CheckBoxZone" Content="{Binding Text}" IsChecked="{Binding IsChkd,UpdateSourceTrigger=PropertyChanged}" />