多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

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.
正确答案:B
答案解析:
进入题库查看解析

微信扫一扫手机做题