Question: Set the Checked event to the following event handler. void ShowRadioSelection(object sender, RoutedEventArgs e) { RadioButton rdoBtn = (sender as RadioButton); MessageBox.Show(You clicked +
void ShowRadioSelection(object sender, RoutedEventArgs e)
{
RadioButton rdoBtn = (sender as RadioButton);
MessageBox.Show("You clicked " + rdoBtn.Content.ToString() + ".");
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
