Microsoft
70-511 · Question #64
70-511 Question #64: Real Exam Question with Answer & Explanation
The correct answer is A. Create a template. Declare a VisualState element in the template.. See the full explanation below for the reasoning.
Question
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?
Options
- ACreate a template. Declare a VisualState element in the template.
- BCreate a StoryBoard animation.
- CCreate a ScaleTransform class.
- DAdd a method named ChangeAppearance in the code-behind file.
Community Discussion
No community discussion yet for this question.