Can radiobuttons be set to change between checked and unchecked when being clicked? Do I need to write a special event for every single button to make it happen or just set some simple properties?
Can radiobuttons be set to change between checked and unchecked when being clicked? Do
Share
Radio buttons will handle checking and unchecking themselves, based on their grouping. Radio buttons are grouped by parent control and the GroupName property.
For example, the following represents two distinct groups of radio options.
But using the
GroupNameproperty, we could, for example, have three groups:In the above code, the 1st and 3rd radio are grouped independently of the 2nd and 4th.