Skip to content

Commit 38c4b8e

Browse files
Merge pull request #2 from BagavathiPerumal/patch-1
WPF-61054-Fixed the Binding Errors in CheckListBox when items are checked using property
2 parents 8348e71 + 0ed48cd commit 38c4b8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Samples/CheckItem-By-Property/MainWindow.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
Margin="20">
2626

2727
<!--Binding the IsChecked property from ViewModel-->
28-
<syncfusion:CheckListBox.ItemContainerStyle>
28+
<syncfusion:CheckListBox.Resources>
2929
<Style TargetType="syncfusion:CheckListBoxItem">
3030
<Setter Property="IsChecked" Value="{Binding Mode=TwoWay, Path=IsChecked}"/>
3131
</Style>
32-
</syncfusion:CheckListBox.ItemContainerStyle>
32+
</syncfusion:CheckListBox.Resources>
3333

3434
<!--Disable the Virtualization to update the checked item-->
3535
<syncfusion:CheckListBox.ItemsPanel>

0 commit comments

Comments
 (0)