RadioButton
The RadioButton
control works similarly to the CheckBox
, differing in that this enables one choice among several alternatives, but basically it exposes the same properties. The following XAML code declares two RadioButton
controls:
Each instance exposes the IsChecked
property and the Checked
and Unchecked
events. For this, take a look back at the CheckBox
discussion. Figure 32.15 shows how the controls look.
Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.