欢迎来到PP题库网 PP题库官网
logo
全部科目 > 微软认证考试 > MCPD > MCPD(70-511)

单项选择题

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.

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题