70-511 · Question #265
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.
- B<ObjectAnimationUsingKeyFrames
- C<DoubleAnimation Storyboard.TargetProperty="Opacity"
- D<DoubleAnimation Storyboard. TargetProperty= Opacity"
How the community answered
(25 responses)- A8% (2)
- B16% (4)
- C72% (18)
- D4% (1)
Community Discussion
No community discussion yet for this question.