70-511 · Question #48
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You write the following code segment. (Line numbers are included for reference only.) You add the…
The correct answer is A. Option A D. Option D. See the full explanation below for the reasoning.
Question
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You write the following code segment. (Line numbers are included for reference only.) You add the following code fragment within a WPF window control. The TextBox control is data-bound to an instance of the Contact class. You need to ensure that the Contact class contains a business rule to ensure that the ContactName property is not empty or NULL. You also need to ensure that the TextBox control validates the input data. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two).
Exhibits
Options
- AOption A
- BOption B
- COption C
- DOption D
- EOption E
How the community answered
(61 responses)- A74% (45)
- B15% (9)
- C5% (3)
- E7% (4)
Community Discussion
No community discussion yet for this question.


