RadioButtonAdv Events in Windows Forms Radio Button (RadioButtonAdv)

29 Apr 20211 minute to read

The list of events and a detailed explanation about each of them is given in the following sections.

Events Table

RadioButtonAdv Events Description
CheckChanged This event is fired when the Checked property of the RadioButtonAdv changes.
GroupCheckChanged This event is fired when the Checked property of the RadioButtonAdv in the group changes.

CheckChanged event

This event is fired when the Checked property of the RadioButtonAdv changes.

The event handler receives an argument of type EventArgs containing data related to this event.

private void radioButtonAdv1_CheckChanged(object sender, EventArgs e)
{
    Console.WriteLine(" CheckChanged event is raised");
}
Private Sub radioButtonAdv1_CheckChanged(ByVal sender As Object, ByVal e As EventArgs)
Console.WriteLine(" CheckChanged event is raised")
End Sub

GroupCheckChanged event

This event is fired when the Checked property of the RadioButtonAdv in the group changes.

The event handler receives an argument of type EventArgs containing data related to this event.

private void radioButtonAdv1_GroupCheckChanged(object sender, EventArgs e)
{
    Console.WriteLine(" GroupCheckChanged event is raised");
}
Private Sub radioButtonAdv1_GroupCheckChanged(ByVal sender As Object, ByVal e As EventArgs)
Console.WriteLine(" GroupCheckChanged event is raised")
End Sub