Which event is activated when a RadioButton is selected?
-
Checked
-
CheckedChanged
-
Selected
-
SelectedChanged
-
SelectionChanged
To determine which event is activated when a RadioButton is selected, you need to understand the event model of the programming framework or language you are working with. In this case, assuming you are referring to a common event model, such as the one used in Microsoft's .NET framework, the answer would be B. CheckedChanged.
In most event-driven programming frameworks, a RadioButton control has a "Checked" property that represents its checked state. When the user selects or deselects a RadioButton, the Checked property changes, triggering the CheckedChanged event. This event is specifically designed to handle the change in the checked state of a RadioButton.
Therefore, the answer is:
B. CheckedChanged
CheckedChanged is correct. In .NET Windows Forms, the RadioButton control raises the CheckedChanged event whenever its Checked property toggles — i.e., when the user selects it (or when it becomes deselected as another radio button in the same group gets selected). 'Checked' and 'Selected' aren't event names on RadioButton at all — Checked is just the boolean property being watched, and 'Selected'/'SelectionChanged' are naming patterns more associated with list-type or tab controls, not RadioButton. 'SelectedChanged' is similarly not a real RadioButton event — the actual, documented event name is specifically CheckedChanged.