
MCTS: Microsoft Silverlight 4 Development (70-506) Certification Guide
By :

1. You are developing a Silverlight 4 application that uses commands. When a user clicks a button on the page you need to pass it the selected value of a ComboBox
control named cbShapes
. What should your button look like?
a.<Button Content="Get Shape" Command="{Binding GetShapeCommand}" CommandParameter="{Binding SelectedItem, ElementName=cbShapes}"/>
b.<Button Content="Get Shape" Command="{Binding GetShapeCommand}" CommandParameter="{Binding SelectedValue, ElementName=cbShapes}"/>
c.<Button Content="Get Shape" Click="{Binding GetShapeCommand}" ClickParameter="{Binding SelectedItem, ElementName=cbShapes}"/>
d.<Button Content="Get Shape" Command="{Binding GetShapeCommand}"/>
2. You are writing a Silverlight 4 application that connects to a Windows Communication Foundation (WCF) service. The WCF service is hosted on a domain different from the one running your application. When you run your application, you receive the following error: Page not found...
Change the font size
Change margin width
Change background colour