试题详情
- 单项选择题 You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You create a Button control for the application. You need to ensure that the application meets the following requirements: When the mouse pointer is over the Button control, the background color of the button is set to red and the Button control appears bigger. When the mouse pointer is not over the Button control, the button returns to its original state. What should you do?()
A、 Create a template. Declare a VisualState element in the template.
B、 Create a StoryBoard animation. Add an EventTrigger class to the Button control that begins the StoryBoard animation.
C、 Create a ScaleTransform class. Bind the ScaleX and ScaleY properties of the Button control to the Background property by using a custom value converter.
D、 Add a method named ChangeAppearance in the code-behind file. Subscribe the ChangeAppearance method to the MouseEnter event of the Button control.
- A
关注下方微信公众号,在线模考后查看
热门试题
- You have
- You have a
- 您需要为连接到西雅图网络的移动用户,设计
- You have
- 您管理着一台运行Windows̳
- 你正在创建一个装载大 XML 文档的 A
- You are the network
- You create a Web Fo
- You have
- Your environme
- Certkiller.com has a
- You are t
- You are developing a
- You have
- You are t
- 你是TestKing网站的技术员,公司网
- 你正在SQL SERVER&
- 您安装了新的硬件路由器,这个路由器可以提
- Youreceivearemoteass
- You create a Web sit