nerdexam
Microsoft

70-518 · Question #74

70-518 Question #74: Real Exam Question with Answer & Explanation

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

Question

You are designing a Windows Presentation Foundation (WPF) application. Business entity objects are bound to controls on each data entry window. The WPF application must meet the following requirements: - Display a watermark in each empty text box. - Display watermarks in a lighter color than user entries. The watermark code must be reusable with other user interface controls. You need to recommend an approach for creating the watermarks. What should you recommend?

Options

  • AModify each business entity object to return the watermark text if the property has no data.
  • BAttach a custom attached property and an Adorner to each text box.
  • CCreate a value converter to format the bound value of the business entity objects.
  • DCreate handlers for the OnFocus and OnFocusLost events of the text boxes in the

Unlock 70-518 to see the answer

You've previewed enough free 70-518 questions. Unlock 70-518 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-518 Practice
You are designing a Windows Presentation Foundation (WPF)... | 70-518 Q#74 Answer | NerdExam