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
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