Selection changed notification in WPF CheckedListBox (CheckListBox)

The SelectionChanged event is raised while selecting an item at the execution time.The SelectionChangedEventArgs has the following members that provides information for the SelectionChanging event:

  • Added items : Gets a collection of the underlying data objects in which the selection has to be processed.
  • Removed items : Gets a collection of the underlying data objects in which the selection has to be removed.
<syncfusion:CheckListBox x:Name="checkListBox" Width="120" Height="150" DisplayMemberPath="Name" ItemsSource="{Binding CheckListItems}" SelectionChanged="ListBox_SelectionChanged"/>
private void ListBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
    Console.WriteLine("SelectionChanged event is raised");
}