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");
}
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page