Introduction: RadioButton control is used to select single option among two or more options of a group.
We take a silverlight application and then we take four RaddioButton on design surface. The XAML code will be look like below
<Grid
x:Name="LayoutRoot"
Background="White">
<RadioButton
Content="RadioButton"
Height="16"
HorizontalAlignment="Left"
Margin="10,10,0,0"
Name="RadioButton1"
VerticalAlignment="Top"
/>
<RadioButton
Content="RadioButton"
Height="16"
HorizontalAlignment="Left"
Margin="10,36,0,0"
Name="RadioButton2"
VerticalAlignment="Top"
/>
<RadioButton
Content="RadioButton"
Height="16"
HorizontalAlignment="Left"
Margin="10,62,0,0"
Name="RadioButton3"
VerticalAlignment="Top"
/>
<RadioButton
Content="RadioButton"
Height="16"
HorizontalAlignment="Left"
Margin="10,88,0,0"
Name="RadioButton4"
VerticalAlignment="Top"
/>
</Grid>


Join the conversation! Your thoughts help the community grow.