nerdexam
Microsoft

70-511 · Question #21

70-511 Question #21: Real Exam Question with Answer & Explanation

The correct answer is B. Implement IsActive as a Dependency property.. See the full explanation below for the reasoning.

Question

You are developing a Windows Presentation Foundation (WPF) application that contains a custom Button control. The custom Button control can be set as active by setting an IsActive property to true. You need to ensure that the IsActive property can be bound to a business object. What should you do on the custom Button control?

Options

  • AImplement IsActive as a Microsoft .NET property.
  • BImplement IsActive as a Dependency property.
  • CImplement INotifyPropertyChanged
  • DImplement IQueryable.

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice