PrepAway - Latest Free Exam Questions & Answers

Tag: 70-506

Exam 70-506: TS: Silverlight 4, Development

Which XAML fragment should you insert at line 07?

You are developing a Silverlight 4 application. The application has an XAML page that contains the following XAML fragment. (Line numbers are included for reference only.)

01 <ComboBox x:Name=”cbName”>
02 <ComboBoxItem Content=”One”/>
03 <ComboBoxItem Content=”Two”/>
04 </ComboBox>
05 <Rectangle>
06 <i:Interaction.Triggers>
07
08 </i:Interaction.Triggers>
09 </Rectangle>

You need to allow the user to call an ICommand named GetPeopleCommand when the user clicks the Rectangle. You also need to pass the selected value of the ComboBox to GetPeopleCommand. Which XAML fragment should you insert at line 07?

Which code fragment should you insert at line 07?

You are developing a Silverlight 4 application.
The application defines the following XAML fragment. (Line numbers are included for reference only.)

01 <Canvas Width=”400″ Height=”300″>
02 <Canvas.Resources>
03 <Storyboard x:Name=”myStoryboard”>
04 <PointAnimationUsingKeyFrames Storyboard.TargetProperty=”Center” Storyboard.TargetName=”AnimatedEllipse”>
05 <EasingPointKeyFrame Value=”50,20″ KeyTime=”00:00:02″>
06 <EasingPointKeyFrame.EasingFunction>
07
08 </EasingPointKeyFrame.EasingFunction>
09 </EasingPointKeyFrame>
10 </PointAnimationUsingKeyFrames>
11 </Storyboard>
12 </Canvas.Resources>
13 <Path Fill=”Blue”>
14 <Path.Data>
15 <EllipseGeometry x:Name=”AnimatedEllipse” RadiusX=”15″ RadiusY=”15″ />
16 </Path.Data>
17 </Path>
18 </Canvas>
You need to animate the ellipse so that the ellipse moves to the upper boundary of the canvas where it slows down and stops. Which code fragment should you insert at line 07?

Which XAML fragment should you insert at line 10?

You are developing a Silverlight 4 application.
The application defines the following XAML fragment. (Line numbers are included for reference only.)

01 <Grid x:Name=”LayoutRoot”>
02 <sdk:Frame x:Name=”ContentFrame” Source=”/Home”>
03 <sdk:Frame.UriMapper>
04 <sdk:UriMapper x:Name=”ContentMapper”>
05 <sdk:UriMapping Uri=”/{pageName}” MappedUri=”/Views/{pageName}.xaml”/>
06 </sdk:UriMapper>
07 </sdk:Frame.UriMapper>
08 </sdk:Frame>
09 <Grid>
10
11 </Grid>
12 </Grid>

You need to define a hyperlink that navigates to a resource within the Frame. Which XAML fragment should you insert at line 10?


Page 6 of 10« First...45678...Last »