What should you do?

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?

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.



Leave a Reply 0

Your email address will not be published. Required fields are marked *