Microsoft
70-511 · Question #133
70-511 Question #133: Real Exam Question with Answer & Explanation
Sign in or unlock 70-511 to reveal the answer and full explanation for question #133. The question stem and answer options stay visible for context.
Question
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You write the following code fragment to bind a customer object to several controls in a window. <TextBox Text="{Binding Path=CustomerName}" Name="textBoxl" /> When the application executes, you receive the following error message: "System.Windows.Data Error: 35: BindingExpression path error: 'CustomerName' property not found on 'object' "Customer" (HashCode=22613453)' BindingExpression:Path=CustomerName; DataItem='Customer' (HashCode=22613453); target element is 'TextBox' (Name='textBoxl') target property is 'Text' (type 'String')" You need to identify the source of the error. What should you do?
Options
- AUse a Trace object.
- BUse a Debug object.
- CUse the WPF Visualizer.
- DUse a PresentationTraceSources object.
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.