nerdexam
Microsoft

70-511 · Question #157

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application contains a form named frmMain that contains a button named btnSave. You create a…

The correct answer is C. <DoubleAnimation Storyboard.TargetProperty="Opacity". See the full explanation below for the reasoning.

Question

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application contains a form named frmMain that contains a button named btnSave. You create a ProgressBar control named saveProgress. Initially, saveProgress is not displayed on frmMain. When a user clicks btnSave, you have the following requirements:

  • saveProgress is slightly visible after 0.2 seconds
  • saveProgress is fully visible after 1 second

You need to declare the corresponding storyboard. You write the following code fragment. (Line numbers are included for reference only.) 01 <Storyboard x:Key="animateProgress" TargetName="saveProgress"> 03 </Storyboard> Which code fragment should you insert at line 02 to complete the declaration?

Options

  • A<Object An imationUsingKeyFr antes Storyboard. TargetProperty=,
  • B<ObjectAnimationUsingKeyFrames
  • C<DoubleAnimation Storyboard.TargetProperty="Opacity"
  • D<DoubleAnimation Storyboard. TargetProperty= Opacity"

How the community answered

(40 responses)
  • A
    3% (1)
  • B
    13% (5)
  • C
    80% (32)
  • D
    5% (2)

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice