Microsoft
70-511 · Question #53
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You create a custom control named Wheel. You need to ensure that the Speed property of Wheel can be…
The correct answer is B. Declare the Speed property as a dependency property. 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 custom control named Wheel. You need to ensure that the Speed property of Wheel can be animated. What should you do?
Options
- AInherit the DependencyObject class.
- BDeclare the Speed property as a dependency property.
- CDeclare an animation of the Speed property from within the code-behind file.
- DImplement the System.Windows.Media.Animation.IAnimatable interface with the Wheel
How the community answered
(27 responses)- A4% (1)
- B78% (21)
- C11% (3)
- D7% (2)
Community Discussion
No community discussion yet for this question.