PrepAway - Latest Free Exam Questions & Answers

Which XAML fragment should you use?

You are developing a Silverlight 4 application by using the Grid control.
You need to ensure that the Grid has three evenly spaced columns that fill the width of the Grid.
Which XAML fragment should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
<Grid Height=”50″ Width=”300″>
<Grid.ColumnDefinitions>
<ColumnDefinition Width=”1.33″/>
<ColumnDefinition Width=”1.33″/>
<ColumnDefinition Width=”1.33″/>
</Grid.ColumnDefinitions>
</Grid>

B.
<Grid Height=”50″ Width=”300″>
<Grid.ColumnDefinitions>
<ColumnDefinition Width=”0.33″/>
<ColumnDefinition Width=”Auto” />
<ColumnDefinition Width=”Auto”/>
</Grid.ColumnDefinitions>
</Grid>

C.
<Grid Height=”50″ Width=”300″>
<Grid.ColumnDefinitions>
<ColumnDefinition Width=”0.33*”/>
<ColumnDefinition Width=”0.33*”/>
<ColumnDefinition Width=”0.33*”/>
</Grid.ColumnDefinitions>
</Grid>

D.
<Grid Height=”50″ Width=”300″>
<Grid.ColumnDefinitions>
<ColumnDefinition Width=”1″/>
<ColumnDefinition Width=”1*”/>
<ColumnDefinition Width=”1″/>
</Grid.ColumnDefinitions>
</Grid>


Leave a Reply