Checked event notification in WPF CheckedListBox (CheckListBox)

When the checked state of an item is changed,it will be notified using the ItemChecked event.The event handler has an argument of type ItemCheckedEventArgs containing data related to this event.

<syncfusion:CheckListBox x:Name="checkListBox" Width="120" Height="150" DisplayMemberPath="Name" ItemsSource="{Binding CheckListItems}" ItemChecked="ListBox_ItemChecked"/>
private void ListBox_ItemChecked(object sender, ItemCheckedEventArgs e)
{
   Console.WriteLine("ItemChecked event is raised");
}

A CheckListBoxItem can be checked in any of the following ways:

  • Using keyboard
  • Using mouse
  • Programmatically