You are developing a Silverlight 4 application. The application contains a control that allows users to select user profile options. You need to define a set of controls that allows users to select between the following background colors:
White
Gray
You also need to define a set of controls that allows users to select between the following default window sizes:
900 x 700
700 x 500
Which XAML fragment should you use?
A.
<RadioButton x:Name=”White” Content=”White” />
<RadioButton x:Name=”Gray” Content=”Gray” />
<RadioButton x:Name=”900×700″ Content=”900 x 700″ />
<RadioButton x:Name=”700×500″ Content=”700 x 500″ />
B.
<RadioButton x:Name=”White” GroupName=”Backgrounds” Content=”White” />
<RadioButton x:Name=”Gray” GroupName=”Backgrounds” Content=”Gray” />
<RadioButton x:Name=”900×700″ GroupName=”WindowSizes” Content=”900 x 700″ />
<RadioButton x:Name=”700×500″ GroupName=”WindowSizes” Content=”700 x 500″ />
C.
<RadioButton x:Name=”White” Content=”White” />
<RadioButton x:Name=”Gray” Content=”Gray” />
<Line Stroke=”Black” StrokeThickness=”4″/>
<RadioButton x:Name=”900×700″ Content=”900 x 700″ />
<RadioButton x:Name=”700×500″ Content=”700 x 500″ />
D.
<RadioButton x:Name=”White” GroupName=”ProfileSettings” Content=”White” />
<RadioButton x:Name=”Gray” GroupName=”ProfileSettings” Content=”Gray” />
<Line Stroke=”Black” StrokeThickness=”4″/>
<RadioButton x:Name=”900×700″ GroupName=”ProfileSettings” Content=”900 x 700″ />
<RadioButton x:Name=”700×500″ GroupName=”ProfileSettings” Content=”700 x 500″ />