nerdexam
Microsoft

70-511 · Question #219

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

Sign in or unlock 70-511 to reveal the answer and full explanation for question #219. The question stem and answer options stay visible for context.

Question

You are developing a Windows Presentation Foundation (WPF) application. A custom control has a dependency property that is bound to a property of type Int16 on a business layer object. You need to ensure that the bound value always falls within the range of an Int16 value, even if the value that the user enters does not. What should you do?

Options

  • Awithin the Dependency property's metadata, specify a callback for coercion.
  • Bwithin the Dependency property's metadata, specify a callback for validation.
  • CSpecify code in the common language runtime (CLR) wrapper to adjust the value if it falls
  • DRegister the property type of the Dependency property as Int 16.

Unlock 70-511 to see the answer

You've previewed enough free 70-511 questions. Unlock 70-511 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 70-511 Practice