Microsoft
70-511 · Question #2
70-511 Question #2: Real Exam Question with Answer & Explanation
Sign in or unlock 70-511 to reveal the answer and full explanation for question #2. 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. The application contains a ListBox control named IbxItems that is data-bound to a collection of objects. Each object has a DisplayValue property. You add a Button control to the application. You need to ensure that the Content property of the Button control is data-bound to the DisplayValue property of the selected item of IbxItems. Which binding expression should you use?
Options
- A{Binding ElementName= IbxItems, Source=SelectedItem, Path=DisplayValue}
- B{Binding Source=lbxItems, ElementName=SelectedItem, Path=DisplayValue}
- C{Binding ElementName=lbxItems, Path=SelectedItem.DisplayValue}
- D{Binding Source=lbxItems, Path=SelectedItem.DisplayValue}
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.