单项选择题
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You create a game where a ball drops from the top to the bottom of a window.
You plan to create a single animation for the game.
You need to ensure that the animation shows the ball bounce.
What should you do?()
A. Use the KeySpline property of a SplineDoubleKeyFrame object.
B. Use the EasingFunction property of an EasingDoubleKeyFrame object.
C. Use the DecelerationRatio and AutoReverse properties of a StoryBoard object.
D. Use the DecelerationRatio and AccelerationRatio properties of a StoryBoard object.
相关考题
-
单项选择题
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.) Which code fragment should you insert at line 02 to complete the declaration?()
A.
B.
C.
D. -
单项选择题
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You create a window named ManageOrders that contains a Button control named showOtherSide. You add an animation named FlipSides as a resource of ManageOrders. You need to ensure that the following requirements are met: FlipSides runs each time a user clicks showOtherSide. FlipSides runs only when a user clicks showOtherSide. What should you do?()
A. Add a property trigger to the Triggers collection of ManageOrders. Configure the property trigger to be based on the IsPressed property of showOtherSide.
B. Add an event trigger to the Triggers collection of ManageOrders. Configure the event trigger to be based on the Click event of showOtherSide.
C. Call the BeginAnimation method of showOtherSide. Pass FlipSides as a parameter of the BeginAnimation method.
D. Call the BeginAnimation method of ManageOrders. Pass FlipSides as a parameter of the BeginAnimation method. -
单项选择题
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Framework (WPF) application. You have a company logo that must appear on multiple forms in the application. The logo design changes frequently. You need to ensure that when the logo image is changed, you only need to update a single location. What should you do?()
A. Define the image as a page resource.
B. Define the image as an application resource.
C. Save the image on a network drive.
D. Include the image as an embedded resource.
