Microsoft
70-511 · Question #193
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 class.
How the community answered
(28 responses)- A14% (4)
- B71% (20)
- C11% (3)
- D4% (1)
Community Discussion
No community discussion yet for this question.