PrepAway - Latest Free Exam Questions & Answers

Which XAML fragment should you use?

You are developing a Silverlight 4 application. You define a style according to the following XAMLfragment.
<Style TargetType=”Button”>
<Setter Property=”Width” Value=”75″ />
<Setter Property=”Height” Value=”23″ />
</Style>
You need to implement a new button that will override this style by using the default Silverlight style.
Which XAML fragment should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
<Button x:Name=”DocumentsButton” Style=”{StaticResource null}” Content=”Documents” />

B.
<Button x:Name=”DocumentsButton” Style=”{ }” Content=”Documents” />

C.
<Button x:Name=”DocumentsButton” Style=”{x:Null}” Content=”Documents” />

D.
<Button x:Name=”DocumentsButton” Content=”Documents” />


Leave a Reply