Hello,
If you need to do single-step debugging of the CheckBox's selection function, you need to set the CheckedChanged event and set a breakpoint for that event.
For example:
<CheckBox CheckedChanged="CheckBox_CheckedChanged"/>
private void CheckBox_CheckedChanged(object sender, CheckedChangedEventArgs e)
{
Console.WriteLine("CheckedChanged");
}
For this example, you need to hit the breakpoint in the CheckBox_CheckedChanged
method.
For debugging, you could refer to First look at the Visual Studio Debugger for more detailed information.
Best Regards,
Alec Liu.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.